Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009121/0.009121, allocations: 106.7 kB / 15.74 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 192.9 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.03 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2269, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002466/0.2294, allocations: 1.495 MB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2307, allocations: 0.7259 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.2308, allocations: 3.938 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.2308, allocations: 3.938 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.2309, allocations: 7.922 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.2315, allocations: 131.5 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.2316, allocations: 71.83 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.545e-05/0.2317, allocations: 15.98 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.879e-05/0.2318, allocations: 39.91 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.2319, allocations: 35.83 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.2319, allocations: 8 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.2321, allocations: 95.84 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.2321, allocations: 19.91 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.2322, allocations: 27.86 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.2324, allocations: 142.5 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2324, allocations: 11.94 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2324, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2325, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005918/0.2331, allocations: 421.8 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2331, allocations: 8.031 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.2331, allocations: 34.75 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.2332, allocations: 8.844 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2333, allocations: 176.2 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.2334, allocations: 16.36 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.2334, allocations: 4.375 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.2336, allocations: 73.78 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2336, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2336, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2336, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2337, allocations: 43.89 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.2343, allocations: 312.8 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2345, allocations: 50.56 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.926e-05/0.2346, allocations: 32.97 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.2346, allocations: 3.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.2348, allocations: 79.31 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.2348, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004315/0.2352, allocations: 145.6 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.2353, allocations: 55.41 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2354, allocations: 117.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.2354, allocations: 33.7 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.2355, allocations: 92.03 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.2355, allocations: 19.81 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.2356, allocations: 29.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2357, allocations: 322.8 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.2358, allocations: 27.92 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.703e-05/0.2359, allocations: 46.56 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.2361, allocations: 78.55 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2361, allocations: 3.938 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002363/0.2363, allocations: 109.6 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2364, allocations: 5.562 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2364, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2364, allocations: 3.938 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.2365, allocations: 20.05 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2365, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.2366, allocations: 7.906 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2366, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.843e-05/0.2367, allocations: 132.5 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.2367, allocations: 7.906 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.2368, allocations: 4.375 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2368, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2368, allocations: 7.938 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2368, allocations: 4 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.2372, allocations: 382.4 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2372, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.2373, allocations: 7.984 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2373, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2373, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.2373, allocations: 3.938 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2373, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.2376, allocations: 223.3 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.2377, allocations: 81.02 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.2377, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.2378, allocations: 3.938 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.2378, allocations: 11.98 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.2378, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.058e-05/0.2379, allocations: 99.92 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.502e-06/0.2379, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002951/0.2382, allocations: 43.92 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007611/0.239, allocations: 0.8043 MB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.2392, allocations: 75.89 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2392, allocations: 0 / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.2393, allocations: 31.98 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.2396, allocations: 11.92 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2411, allocations: 1.486 MB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2413, allocations: 0.6846 MB / 1.096 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.966e-05/0.2414, allocations: 15.73 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.2414, allocations: 19.44 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2414, allocations: 0 / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.2584, allocations: 2.649 MB / 1.099 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.142/7.4, allocations: 9.312 kB / 1.099 GB, free: 5.723 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset