Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_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.004996/0.004995, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001408/0.001408, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.541/2.541, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 67.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6531/0.6549, allocations: 159.1 MB / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002375/0.6573, allocations: 1.584 MB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.6585, allocations: 0.7798 MB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.6586, allocations: 0 / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.6586, allocations: 11.86 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.849e-05/0.6587, allocations: 19.8 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.6591, allocations: 147.6 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.6593, allocations: 139.6 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.6594, allocations: 19.97 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.233e-05/0.6595, allocations: 59.78 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.6596, allocations: 79.77 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.6597, allocations: 12 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.6598, allocations: 99.91 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.6599, allocations: 31.89 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.66, allocations: 55.72 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.6602, allocations: 195 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6602, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6602, allocations: 4 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.6602, allocations: 0 / 1.223 GB, free: 14.84 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006877/0.6609, allocations: 494.1 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.661, allocations: 8.031 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.661, allocations: 38.75 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.6611, allocations: 8.891 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.6612, allocations: 184.8 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.6612, allocations: 384 / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.6612, allocations: 15.94 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.6615, allocations: 97.5 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.6615, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.6615, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.6615, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.6617, allocations: 59.95 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.6625, allocations: 368.6 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.6627, allocations: 78.42 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.6628, allocations: 52.83 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.6628, allocations: 4 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.663, allocations: 99.34 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.663, allocations: 4 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0005317/0.6636, allocations: 213.5 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.6636, allocations: 55.41 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.6637, allocations: 143.6 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.6638, allocations: 29.69 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.6638, allocations: 104.3 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.6639, allocations: 31.78 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.6639, allocations: 33.7 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6641, allocations: 318.8 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.6642, allocations: 39.98 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.6643, allocations: 81.86 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.6646, allocations: 112.1 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6646, allocations: 0 / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003288/0.6649, allocations: 157.5 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.6649, allocations: 8 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.6649, allocations: 0 / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.665, allocations: 0 / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.6651, allocations: 27.92 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.6651, allocations: 0 / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.6652, allocations: 19.88 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.6652, allocations: 4 kB / 1.226 GB, free: 11.72 MB / 0.9512 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 9.337e-05/0.6653, allocations: 125.9 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.6654, allocations: 11.95 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.6654, allocations: 12.7 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.6654, allocations: 4.312 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.6654, allocations: 4 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.6654, allocations: 0 / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.666, allocations: 462.5 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.666, allocations: 0 / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/0.6661, allocations: 15.92 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.6661, allocations: 4.031 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.6661, allocations: 0 / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6661, allocations: 4 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6661, allocations: 0 / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.6665, allocations: 271.3 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.6666, allocations: 89 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.6666, allocations: 64 / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.6668, allocations: 19.98 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.6668, allocations: 0 / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.6668, allocations: 11.92 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.75e-05/0.6669, allocations: 105.1 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6669, allocations: 0 / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002823/0.6672, allocations: 51.86 kB / 1.227 GB, free: 10.45 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: 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.0008885/0.6681, allocations: 0.8808 MB / 1.228 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.6684, allocations: 111.9 kB / 1.228 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.6684, allocations: 0 / 1.228 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.6686, allocations: 59.91 kB / 1.228 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.6688, allocations: 6.031 kB / 1.228 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.6707, allocations: 1.729 MB / 1.23 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.671, allocations: 0.6963 MB / 1.231 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.671, allocations: 4 kB / 1.231 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.6711, allocations: 35.42 kB / 1.231 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.6711, allocations: 0 / 1.231 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.191/3.862, allocations: 3.394 MB / 1.234 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/14.4, allocations: 16.12 kB / 1.234 GB, free: 3.539 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches