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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008523/0.0008523, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9372/0.9372, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.675/1.675, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.794e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002473/0.002501, allocations: 1.595 MB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.003638, allocations: 0.8223 MB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.485e-05/0.003713, allocations: 7.938 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.003749, allocations: 11.86 kB / 0.9529 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.003809, allocations: 15.8 kB / 0.9529 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.004557, allocations: 179.3 kB / 0.953 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.004732, allocations: 143.5 kB / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.004851, allocations: 17.58 kB / 0.9532 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.005057, allocations: 83.86 kB / 0.9533 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.005146, allocations: 63.83 kB / 0.9533 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.005174, allocations: 12 kB / 0.9534 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.005418, allocations: 147.7 kB / 0.9535 GB, free: 412 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.005451, allocations: 31.89 kB / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.005501, allocations: 39.89 kB / 0.9536 GB, free: 340 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.00578, allocations: 235.3 kB / 0.9538 GB, free: 104 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005783, allocations: 4 kB / 0.9538 GB, free: 100 kB / 0.9011 GB Notification: Performance of FrontEnd: time 2.154e-06/0.005785, allocations: 0 / 0.9538 GB, free: 100 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.005789, allocations: 3.938 kB / 0.9538 GB, free: 96 kB / 0.9011 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.0006401/0.00643, allocations: 413 kB / 0.9542 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.006477, allocations: 12.03 kB / 0.9542 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.006514, allocations: 34.75 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.006861, allocations: 72.83 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.007115, allocations: 145.5 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.007141, allocations: 384 / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.007158, allocations: 8.375 kB / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.007359, allocations: 106 kB / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.007371, allocations: 192 / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.007386, allocations: 8.125 kB / 0.9546 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.007395, allocations: 7.984 kB / 0.9546 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.007513, allocations: 59.95 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.008072, allocations: 323.7 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.008187, allocations: 66.48 kB / 0.955 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.732e-05/0.008265, allocations: 48.83 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.008284, allocations: 4 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.00843, allocations: 103.3 kB / 0.9551 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.008431, allocations: 0 / 0.9551 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0004048/0.008835, allocations: 221.4 kB / 0.9554 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.008884, allocations: 55.41 kB / 0.9554 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.008993, allocations: 149 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.00901, allocations: 29.69 kB / 0.9556 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.009083, allocations: 100.3 kB / 0.9557 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.009105, allocations: 19.89 kB / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.00915, allocations: 29.7 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.009318, allocations: 322.8 kB / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.009391, allocations: 39.98 kB / 0.9561 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-05/0.009478, allocations: 80.62 kB / 0.9561 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.009615, allocations: 116.1 kB / 0.9563 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009618, allocations: 112 / 0.9563 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002033/0.009821, allocations: 169.3 kB / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.009833, allocations: 7.938 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.009838, allocations: 4.094 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.009851, allocations: 4 kB / 0.9564 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.009926, allocations: 19.92 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.009932, allocations: 0 / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.009986, allocations: 15.92 kB / 0.9565 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.01, allocations: 8 kB / 0.9565 GB, free: 13.11 MB / 0.9167 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 8.002e-05/0.01008, allocations: 121.8 kB / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.0101, allocations: 11.91 kB / 0.9566 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.01012, allocations: 20.77 kB / 0.9566 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01013, allocations: 0 / 0.9566 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01013, allocations: 0 / 0.9566 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01013, allocations: 0 / 0.9566 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.01053, allocations: 429.5 kB / 0.957 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01054, allocations: 4 kB / 0.957 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.01056, allocations: 11.92 kB / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.01057, allocations: 0 / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01058, allocations: 4 kB / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.01058, allocations: 7.984 kB / 0.9571 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01058, allocations: 0 / 0.9571 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.01083, allocations: 279.3 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.01084, allocations: 7.953 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.01086, allocations: 4.062 kB / 0.9573 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.01092, allocations: 7.984 kB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.01097, allocations: 11.98 kB / 0.9574 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.01098, allocations: 4 kB / 0.9574 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.527e-05/0.01103, allocations: 114.2 kB / 0.9575 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01103, allocations: 4 kB / 0.9575 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002372/0.01127, allocations: 48.11 kB / 0.9575 GB, free: 11.97 MB / 0.9167 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.0006657/0.01193, allocations: 0.8784 MB / 0.9584 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.01214, allocations: 115.8 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01215, allocations: 0 / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.01222, allocations: 47.97 kB / 0.9585 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.01242, allocations: 23.97 kB / 0.9586 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.01379, allocations: 1.723 MB / 0.9602 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.239e-05/0.01384, allocations: 84.31 kB / 0.9603 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.639e-05/0.01388, allocations: 8.734 kB / 0.9603 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.01393, allocations: 32.42 kB / 0.9604 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.01393, allocations: 4 kB / 0.9604 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.03329, allocations: 4.235 MB / 0.9645 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/6.891, allocations: 0 / 0.9645 GB, free: 4.844 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=1.44 --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) [Timeout 420.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.97813098039478]