Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.0008241/0.0008241, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008362/0.0008362, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9287/0.9287, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.677/1.677, allocations: 359 MB / 0.6037 GB, free: 11.09 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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.265e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001685/0.001697, allocations: 1.517 MB / 0.952 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008835/0.002581, allocations: 0.7639 MB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.002624, allocations: 0 / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.002645, allocations: 11.92 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.002682, allocations: 15.8 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.00309, allocations: 143.4 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.003176, allocations: 79.7 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 6.378e-05/0.00324, allocations: 12.17 kB / 0.953 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.00334, allocations: 55.83 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.003381, allocations: 31.94 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.003395, allocations: 8 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.003572, allocations: 135.7 kB / 0.9532 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.003589, allocations: 19.92 kB / 0.9532 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.003617, allocations: 19.97 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.003793, allocations: 179.4 kB / 0.9534 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.242e-06/0.003794, allocations: 3.938 kB / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003795, allocations: 0 / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.003798, allocations: 0 / 0.9534 GB, free: 0.5195 MB / 0.9011 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.0005249/0.004323, allocations: 351.5 kB / 0.9537 GB, free: 144 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.004354, allocations: 12.03 kB / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.376e-05/0.004378, allocations: 30.75 kB / 0.9538 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.004538, allocations: 36.86 kB / 0.9538 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.00468, allocations: 121.7 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.004698, allocations: 8.375 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.004708, allocations: 384 / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.004819, allocations: 70.16 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004826, allocations: 4.172 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.004837, allocations: 7.938 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.004841, allocations: 4 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.004909, allocations: 35.98 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.005235, allocations: 275.8 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.005309, allocations: 50.44 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.005351, allocations: 24.97 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.005366, allocations: 7.984 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.318e-05/0.005459, allocations: 71.39 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.00546, allocations: 4 kB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.000233/0.005693, allocations: 145.6 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.005719, allocations: 55.34 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.005781, allocations: 124.8 kB / 0.9548 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.005794, allocations: 29.7 kB / 0.9548 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.005828, allocations: 88.14 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.005844, allocations: 19.97 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.005876, allocations: 33.64 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.005946, allocations: 322.8 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.005988, allocations: 27.98 kB / 0.9553 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.006043, allocations: 55.41 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.006146, allocations: 83.34 kB / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.006147, allocations: 0 / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001365/0.006284, allocations: 117.5 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.006295, allocations: 8.062 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006299, allocations: 4 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.00631, allocations: 0 / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.006375, allocations: 15.92 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.00638, allocations: 4 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.006432, allocations: 15.89 kB / 0.9556 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.006442, allocations: 7.938 kB / 0.9556 GB, free: 14.07 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 6.575e-05/0.006507, allocations: 121.8 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.006518, allocations: 7.953 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.006536, allocations: 12.44 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006538, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006541, allocations: 4 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006544, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.006818, allocations: 345.8 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.00682, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.876e-05/0.006838, allocations: 7.984 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.00684, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.006847, allocations: 4 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.006848, allocations: 0 / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006849, allocations: 4 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.007003, allocations: 227.2 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.007011, allocations: 7.953 kB / 0.9563 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.007021, allocations: 0 / 0.9563 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.007067, allocations: 11.98 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.00709, allocations: 0 / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.007099, allocations: 15.98 kB / 0.9563 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.007135, allocations: 95.27 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007135, allocations: 0 / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000201/0.007336, allocations: 39.88 kB / 0.9564 GB, free: 13.1 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,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.000486/0.007822, allocations: 0.8202 MB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.007959, allocations: 71.88 kB / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007961, allocations: 0 / 0.9573 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.061e-05/0.008011, allocations: 36.11 kB / 0.9573 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.008184, allocations: 14.44 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009969/0.009181, allocations: 1.495 MB / 0.9588 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.009225, allocations: 79.33 kB / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.009251, allocations: 0 / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.009286, allocations: 24.48 kB / 0.9589 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.009286, allocations: 0 / 0.9589 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.02566, allocations: 3.41 MB / 0.9622 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/6.939, allocations: 5.031 kB / 0.9622 GB, free: 7.16 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.986375696957111]