Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.005329/0.005329, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001338/0.001338, allocations: 185 kB / 16.67 MB, free: 5.918 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.08 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2476, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002465/0.2501, allocations: 1.509 MB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.2513, allocations: 0.7557 MB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.2514, allocations: 4 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.2514, allocations: 11.88 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.2515, allocations: 15.84 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.252, allocations: 139.5 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.2522, allocations: 103.7 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.2523, allocations: 11.98 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/0.2524, allocations: 43.91 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.741e-05/0.2525, allocations: 59.8 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.2525, allocations: 12 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.2527, allocations: 99.84 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.2527, allocations: 19.92 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.2528, allocations: 43.83 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.253, allocations: 167.7 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2531, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2531, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.2531, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006155/0.2537, allocations: 466.4 kB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2537, allocations: 8.031 kB / 1.17 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.2538, allocations: 42.67 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.2538, allocations: 8.891 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.2539, allocations: 176.3 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.254, allocations: 8.375 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.254, allocations: 8.375 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.2542, allocations: 89.75 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.2542, allocations: 4 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2543, allocations: 0 / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2543, allocations: 3.938 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.2545, allocations: 51.95 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.2552, allocations: 344.7 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.2554, allocations: 66.58 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.2555, allocations: 44.83 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.2556, allocations: 4 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.2558, allocations: 99.34 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.2558, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005634/0.2564, allocations: 181.7 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.2564, allocations: 63.34 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.2565, allocations: 121.8 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.2566, allocations: 33.7 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.2566, allocations: 96.03 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.2566, allocations: 27.77 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.2567, allocations: 33.7 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.2568, allocations: 322.8 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.2569, allocations: 27.98 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.257, allocations: 67.64 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.2572, allocations: 92.22 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2572, allocations: 0 / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002757/0.2575, allocations: 133.5 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2575, allocations: 8 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2575, allocations: 0 / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2576, allocations: 4 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2577, allocations: 15.98 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2577, allocations: 4 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.2578, allocations: 7.953 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.2578, allocations: 11.92 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.326e-05/0.2579, allocations: 126.5 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.2579, allocations: 7.953 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.2579, allocations: 8.375 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.258, allocations: 0 / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.258, allocations: 0 / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.258, allocations: 0 / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.2586, allocations: 430.3 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2586, allocations: 8.109 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.2586, allocations: 11.98 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2586, allocations: 0 / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.2587, allocations: 7.984 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2587, allocations: 0 / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2587, allocations: 3.938 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.2591, allocations: 251.4 kB / 1.172 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.2591, allocations: 92.98 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.2592, allocations: 3.938 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2593, allocations: 4 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.2593, allocations: 15.92 kB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.2594, allocations: 0 / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.395e-05/0.2594, allocations: 95.27 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2594, allocations: 3.938 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003284/0.2598, allocations: 43.92 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008796/0.2606, allocations: 0.8396 MB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.2609, allocations: 87.89 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.261, allocations: 0 / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.2611, allocations: 51.89 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.2614, allocations: 21.8 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.2631, allocations: 1.577 MB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.2633, allocations: 0.6885 MB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.25e-05/0.2633, allocations: 11.84 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.2634, allocations: 23.42 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.2634, allocations: 0 / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.2812, allocations: 3.012 MB / 1.179 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/7.919, allocations: 10.81 kB / 1.179 GB, free: 9.898 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! " Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:time,win.TIn,win.pClose,win.pOpen,TIn.amplitude,TIn.f