Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.008705/0.008705, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.002098/0.002098, allocations: 185.9 kB / 16.67 MB, free: 5.934 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.568/2.568, allocations: 469.4 MB / 0.7422 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7952, allocations: 159.1 MB / 1.22 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002671/0.7979, allocations: 1.506 MB / 1.221 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.7992, allocations: 0.7215 MB / 1.222 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.7993, allocations: 0 / 1.222 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.7993, allocations: 7.875 kB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.7994, allocations: 11.92 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.8, allocations: 123.7 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.8001, allocations: 79.61 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.8002, allocations: 15.94 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.17e-05/0.8003, allocations: 39.84 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.8004, allocations: 35.83 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.8004, allocations: 12 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.8006, allocations: 99.84 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.8007, allocations: 19.91 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.8007, allocations: 27.86 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.8009, allocations: 138.3 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.801, allocations: 0 / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.212e-06/0.801, allocations: 0 / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.801, allocations: 0 / 1.222 GB, free: 15.44 MB / 0.9512 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.0006167/0.8016, allocations: 429.6 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.8016, allocations: 12.62 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.8017, allocations: 34.75 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.8017, allocations: 8.891 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.8018, allocations: 164.3 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.8019, allocations: 8.375 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.8019, allocations: 8.359 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.8021, allocations: 69.78 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.8021, allocations: 0 / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.8021, allocations: 7.938 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.8022, allocations: 4 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.8023, allocations: 39.91 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.8029, allocations: 316.7 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.803, allocations: 46.56 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.8031, allocations: 36.97 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.8032, allocations: 3.984 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.8034, allocations: 75.31 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.8034, allocations: 4 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003981/0.8038, allocations: 141.6 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.8038, allocations: 59.41 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.8039, allocations: 121.7 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.804, allocations: 33.7 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.804, allocations: 88.12 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.8041, allocations: 15.91 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.8041, allocations: 25.7 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.8042, allocations: 326.8 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.8043, allocations: 27.98 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.8044, allocations: 54.5 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.8046, allocations: 70.55 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8046, allocations: 0 / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002449/0.8048, allocations: 117.9 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8049, allocations: 7.938 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.8049, allocations: 80 / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.8049, allocations: 4 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.938e-05/0.805, allocations: 19.86 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.805, allocations: 3.984 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.8051, allocations: 7.938 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.8051, allocations: 4 kB / 1.225 GB, free: 12.83 MB / 0.9512 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 0.0001053/0.8052, allocations: 126.4 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.8052, allocations: 11.94 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.8053, allocations: 4.375 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.8053, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8053, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8053, allocations: 4 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.8058, allocations: 386.4 kB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8058, allocations: 0 / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.8058, allocations: 8 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.8058, allocations: 3.984 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.8059, allocations: 0 / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.8059, allocations: 3.938 kB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8059, allocations: 0 / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.8062, allocations: 211.4 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.8062, allocations: 85.05 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.8063, allocations: 8 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.8063, allocations: 3.938 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.8064, allocations: 7.984 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.8064, allocations: 8 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.8065, allocations: 91.27 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8065, allocations: 0 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000307/0.8068, allocations: 39.88 kB / 1.226 GB, free: 11.74 MB / 0.9512 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.0008124/0.8076, allocations: 0.8136 MB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.8079, allocations: 72.02 kB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.8079, allocations: 0 / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.808, allocations: 35.92 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.8082, allocations: 8.484 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.8099, allocations: 1.508 MB / 1.228 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.8101, allocations: 0.6807 MB / 1.229 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.8101, allocations: 7.984 kB / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.8102, allocations: 19.44 kB / 1.229 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.8102, allocations: 0 / 1.229 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.8288, allocations: 2.649 MB / 1.231 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.213/8.042, allocations: 10.17 kB / 1.231 GB, free: 5.961 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_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