Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.007368/0.007368, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001989/0.001989, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.11 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.28, allocations: 162.2 MB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002767/0.2828, allocations: 1.513 MB / 1.243 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.2842, allocations: 0.7634 MB / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.2843, allocations: 0 / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.2843, allocations: 11.86 kB / 1.244 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.2844, allocations: 7.875 kB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.2849, allocations: 143.5 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.2851, allocations: 91.81 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.2852, allocations: 23.97 kB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.782e-05/0.2853, allocations: 47.78 kB / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.874e-05/0.2854, allocations: 51.81 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.2854, allocations: 12 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.2856, allocations: 95.91 kB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.47e-05/0.2857, allocations: 23.95 kB / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.2857, allocations: 43.78 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.286, allocations: 163.4 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.286, allocations: 0 / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.286, allocations: 4 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.286, allocations: 0 / 1.244 GB, free: 7.262 MB / 0.9981 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.0006982/0.2867, allocations: 466.3 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2868, allocations: 8.031 kB / 1.245 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.2868, allocations: 30.75 kB / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.2869, allocations: 12.83 kB / 1.245 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.287, allocations: 176.3 kB / 1.245 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.287, allocations: 12.31 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.2871, allocations: 4.375 kB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.2873, allocations: 93.75 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2873, allocations: 0 / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2874, allocations: 4 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2874, allocations: 3.938 kB / 1.245 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.2876, allocations: 43.97 kB / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007694/0.2884, allocations: 348.6 kB / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.2885, allocations: 58.55 kB / 1.246 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.2887, allocations: 40.84 kB / 1.246 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.2887, allocations: 4.141 kB / 1.246 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.289, allocations: 107.4 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.289, allocations: 0 / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.000564/0.2895, allocations: 177.6 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.2896, allocations: 55.41 kB / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2897, allocations: 129.8 kB / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.2898, allocations: 33.7 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.2898, allocations: 92.09 kB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.2899, allocations: 23.88 kB / 1.246 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.2899, allocations: 29.7 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2901, allocations: 318.8 kB / 1.247 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.691e-05/0.2902, allocations: 31.97 kB / 1.247 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2903, allocations: 72.22 kB / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.2905, allocations: 96.19 kB / 1.247 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2905, allocations: 0 / 1.247 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002985/0.2908, allocations: 133.5 kB / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2909, allocations: 8 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2909, allocations: 0 / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2909, allocations: 0 / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.291, allocations: 19.92 kB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.291, allocations: 0 / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.532e-05/0.2911, allocations: 15.89 kB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.2911, allocations: 8 kB / 1.247 GB, free: 4.383 MB / 0.9981 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 0.0001082/0.2912, allocations: 131.7 kB / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.2913, allocations: 11.89 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.2913, allocations: 8.375 kB / 1.247 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.2913, allocations: 4 kB / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2913, allocations: 0 / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2913, allocations: 0 / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006376/0.292, allocations: 422.4 kB / 1.247 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.292, allocations: 0 / 1.247 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.292, allocations: 7.984 kB / 1.247 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.2921, allocations: 0 / 1.247 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2921, allocations: 3.938 kB / 1.247 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2921, allocations: 64 / 1.247 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/0.2921, allocations: 11.92 kB / 1.247 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.2925, allocations: 255.7 kB / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.2926, allocations: 85.06 kB / 1.248 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.2926, allocations: 4 kB / 1.248 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.2927, allocations: 7.984 kB / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.2928, allocations: 7.938 kB / 1.248 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.2928, allocations: 3.984 kB / 1.248 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.087e-05/0.2929, allocations: 102.5 kB / 1.248 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2929, allocations: 0 / 1.248 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000318/0.2932, allocations: 43.88 kB / 1.248 GB, free: 3.195 MB / 0.9981 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.0009767/0.2942, allocations: 0.8328 MB / 1.249 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.2945, allocations: 87.88 kB / 1.249 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.2945, allocations: 4 kB / 1.249 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.2947, allocations: 47.91 kB / 1.249 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.295, allocations: 15.86 kB / 1.249 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.2969, allocations: 1.594 MB / 1.25 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4613/0.7582, allocations: 0.6857 MB / 1.251 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.707e-05/0.7583, allocations: 5.516 kB / 1.251 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.7584, allocations: 25.36 kB / 1.251 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/0.7584, allocations: 0 / 1.251 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.782, allocations: 2.989 MB / 1.254 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/8.472, allocations: 9.938 kB / 1.254 GB, free: 14.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:time,win.TOut,win.pClose,win.pOpen,TOut.amplitude,TOut.f