Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.007914/0.007915, allocations: 102.2 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.001718/0.001718, allocations: 192.1 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9345, allocations: 157.4 MB / 1.207 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003555/0.9382, allocations: 1.59 MB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.9401, allocations: 0.7751 MB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.9403, allocations: 4 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.085e-05/0.9404, allocations: 7.875 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.9405, allocations: 19.78 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009718/0.9415, allocations: 147.6 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.9418, allocations: 139.6 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.9419, allocations: 19.98 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.9421, allocations: 59.77 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.9423, allocations: 67.8 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.9423, allocations: 12 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.9426, allocations: 103.9 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.9427, allocations: 35.88 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.605e-05/0.9428, allocations: 51.72 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.9432, allocations: 197.7 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.9432, allocations: 0 / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9432, allocations: 3.938 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.9432, allocations: 0 / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009574/0.9442, allocations: 486.4 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.9442, allocations: 16.03 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.9443, allocations: 34.73 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.9443, allocations: 8.844 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.9445, allocations: 180.7 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.9446, allocations: 12.36 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.9446, allocations: 11.88 kB / 1.211 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.9449, allocations: 101.5 kB / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.9449, allocations: 4 kB / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.9449, allocations: 0 / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.9449, allocations: 4 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.9451, allocations: 59.95 kB / 1.211 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009202/0.9461, allocations: 380.5 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.9463, allocations: 74.48 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.9464, allocations: 52.83 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.9464, allocations: 0 / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.9467, allocations: 99.34 kB / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.9467, allocations: 0 / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0005766/0.9473, allocations: 221.4 kB / 1.212 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.9474, allocations: 55.34 kB / 1.212 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.9475, allocations: 144.4 kB / 1.212 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.9475, allocations: 29.7 kB / 1.212 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.9476, allocations: 100.3 kB / 1.212 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.9476, allocations: 15.81 kB / 1.212 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.9477, allocations: 29.7 kB / 1.212 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.9479, allocations: 330.8 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.948, allocations: 36.34 kB / 1.213 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.9481, allocations: 72.27 kB / 1.213 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.9484, allocations: 116.3 kB / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9484, allocations: 7.938 kB / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003276/0.9487, allocations: 157.3 kB / 1.213 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9487, allocations: 12.08 kB / 1.213 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9488, allocations: 4 kB / 1.213 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.9488, allocations: 0 / 1.213 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.9489, allocations: 19.92 kB / 1.213 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.9489, allocations: 7.984 kB / 1.213 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.9491, allocations: 15.88 kB / 1.213 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.9491, allocations: 7.984 kB / 1.213 GB, free: 7.152 MB / 0.9356 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.000112/0.9492, allocations: 121.8 kB / 1.213 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.9492, allocations: 11.91 kB / 1.213 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.9493, allocations: 12.72 kB / 1.213 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.9493, allocations: 7.922 kB / 1.213 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9493, allocations: 0 / 1.213 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.9493, allocations: 0 / 1.213 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.9499, allocations: 462.5 kB / 1.214 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.95, allocations: 0 / 1.214 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.95, allocations: 11.94 kB / 1.214 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.95, allocations: 4 kB / 1.214 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.9501, allocations: 3.984 kB / 1.214 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.9501, allocations: 8 kB / 1.214 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9501, allocations: 0 / 1.214 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.9505, allocations: 263.4 kB / 1.214 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.9505, allocations: 92.89 kB / 1.214 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.9506, allocations: 4 kB / 1.214 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.9507, allocations: 11.92 kB / 1.214 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.9508, allocations: 8.047 kB / 1.214 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.9508, allocations: 11.97 kB / 1.214 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.9509, allocations: 103.3 kB / 1.214 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9509, allocations: 192 / 1.214 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003379/0.9512, allocations: 43.98 kB / 1.214 GB, free: 5.887 MB / 0.9356 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.0009584/0.9522, allocations: 0.8686 MB / 1.215 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.9525, allocations: 107.9 kB / 1.215 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9525, allocations: 0 / 1.215 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.9527, allocations: 59.91 kB / 1.215 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.953, allocations: 12.27 kB / 1.215 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.9553, allocations: 1.73 MB / 1.217 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.9556, allocations: 0.6963 MB / 1.218 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.147e-05/0.9557, allocations: 4 kB / 1.218 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.9558, allocations: 27.42 kB / 1.218 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of SimCode: time 1.032e-06/0.9558, allocations: 0 / 1.218 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.978, allocations: 3.46 MB / 1.221 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/8.481, allocations: 7 kB / 1.221 GB, free: 14.93 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches