Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.0008053/0.0008053, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007505/0.0007505, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8305/0.8305, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.605/1.605, allocations: 359 MB / 0.6044 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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.9517 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.604e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001604/0.001621, allocations: 1.506 MB / 0.9532 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000868/0.002489, allocations: 0.76 MB / 0.9539 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.002533, allocations: 0 / 0.9539 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.002559, allocations: 7.938 kB / 0.9539 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.002603, allocations: 19.8 kB / 0.9539 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.003059, allocations: 147.4 kB / 0.9541 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.003156, allocations: 75.72 kB / 0.9541 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.504e-05/0.003231, allocations: 12.17 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.003348, allocations: 55.83 kB / 0.9542 GB, free: 464 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.003395, allocations: 31.94 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.003411, allocations: 4 kB / 0.9542 GB, free: 428 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.003581, allocations: 135.7 kB / 0.9544 GB, free: 292 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.0036, allocations: 19.92 kB / 0.9544 GB, free: 272 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.003629, allocations: 19.97 kB / 0.9544 GB, free: 252 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.003825, allocations: 175.4 kB / 0.9546 GB, free: 76 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003828, allocations: 7.938 kB / 0.9546 GB, free: 68 kB / 0.9011 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003829, allocations: 0 / 0.9546 GB, free: 68 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003833, allocations: 3.938 kB / 0.9546 GB, free: 64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004454/0.004278, allocations: 351.7 kB / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.004307, allocations: 8.031 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.004481, allocations: 32.88 kB / 0.955 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.004626, allocations: 129.7 kB / 0.9551 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.004643, allocations: 384 / 0.9551 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.004655, allocations: 8.375 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.00478, allocations: 70.16 kB / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004788, allocations: 192 / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.004799, allocations: 4.125 kB / 0.9552 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.004804, allocations: 4 kB / 0.9552 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.004878, allocations: 35.97 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.005214, allocations: 256.5 kB / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/0.005293, allocations: 46.5 kB / 0.9555 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.00557, allocations: 32.95 kB / 0.9555 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.005587, allocations: 3.938 kB / 0.9555 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.629e-05/0.005683, allocations: 75.38 kB / 0.9556 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005684, allocations: 0 / 0.9556 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002626/0.005947, allocations: 141.6 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.005978, allocations: 59.42 kB / 0.9558 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.006046, allocations: 129.2 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.006057, allocations: 25.7 kB / 0.9559 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.006098, allocations: 92.12 kB / 0.956 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.006115, allocations: 23.83 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.006152, allocations: 33.64 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.006217, allocations: 314.8 kB / 0.9564 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.767e-05/0.006265, allocations: 23.98 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.615e-05/0.006321, allocations: 54.55 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.512e-05/0.006416, allocations: 74.8 kB / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006418, allocations: 0 / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001368/0.006555, allocations: 125.5 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.006565, allocations: 4 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.006569, allocations: 4.062 kB / 0.9566 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.006581, allocations: 4 kB / 0.9567 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.79e-05/0.006628, allocations: 8 kB / 0.9567 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.006634, allocations: 3.984 kB / 0.9567 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.006665, allocations: 11.95 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.006675, allocations: 4 kB / 0.9567 GB, free: 13.71 MB / 0.9167 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 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.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 5.835e-05/0.006733, allocations: 117.8 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.006743, allocations: 11.89 kB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.006767, allocations: 12.42 kB / 0.9568 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006769, allocations: 8 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.006772, allocations: 3.938 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006774, allocations: 0 / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.007035, allocations: 322.1 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.007036, allocations: 0 / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.007056, allocations: 7.938 kB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.007057, allocations: 4 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.007065, allocations: 3.984 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.007066, allocations: 0 / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.007066, allocations: 0 / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.007222, allocations: 223.3 kB / 0.9574 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.007228, allocations: 3.953 kB / 0.9574 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.00724, allocations: 3.984 kB / 0.9574 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.007281, allocations: 4 kB / 0.9574 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.007311, allocations: 11.98 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.007316, allocations: 0 / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.007349, allocations: 95.27 kB / 0.9575 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007349, allocations: 0 / 0.9575 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001824/0.007532, allocations: 35.94 kB / 0.9575 GB, free: 12.79 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 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.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.0002317/0.007763, allocations: 177 kB / 0.9577 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.00791, allocations: 67.95 kB / 0.9577 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.007911, allocations: 0 / 0.9577 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.656e-05/0.007967, allocations: 35.92 kB / 0.9578 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.008138, allocations: 22.94 kB / 0.9578 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.008422, allocations: 210.7 kB / 0.958 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.197e-05/0.008464, allocations: 69.59 kB / 0.9581 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.008487, allocations: 16.48 kB / 0.9581 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of SimCode: time 3.7e-07/0.008487, allocations: 0 / 0.9581 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of Templates: time 0.002175/0.01066, allocations: 1.683 MB / 0.9597 GB, free: 10.49 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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: 6.600115096196532]