Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 104.5 kB / 15.98 MB, free: 6.355 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.001838/0.001838, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 61.5 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.26, allocations: 140.4 MB / 0.9498 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002727/0.2627, allocations: 1.539 MB / 0.9513 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.2642, allocations: 0.7284 MB / 0.952 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.2642, allocations: 4 kB / 0.952 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.2643, allocations: 0 / 0.952 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.2643, allocations: 7.875 kB / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.2649, allocations: 111.8 kB / 0.9521 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.265, allocations: 75.78 kB / 0.9522 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.2651, allocations: 19.97 kB / 0.9522 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.65e-05/0.2652, allocations: 35.91 kB / 0.9522 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.2653, allocations: 35.83 kB / 0.9523 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2653, allocations: 8 kB / 0.9523 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.2655, allocations: 99.84 kB / 0.9524 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.2655, allocations: 11.98 kB / 0.9524 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.2655, allocations: 35.8 kB / 0.9524 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.2657, allocations: 104 kB / 0.9525 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2657, allocations: 0 / 0.9525 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2657, allocations: 7.984 kB / 0.9525 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2658, allocations: 0 / 0.9525 GB, free: 6.449 MB / 0.7325 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.0005592/0.2663, allocations: 412.9 kB / 0.9529 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2664, allocations: 12.03 kB / 0.9529 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.2664, allocations: 8.844 kB / 0.9529 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.2665, allocations: 172.2 kB / 0.9531 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.2666, allocations: 4.375 kB / 0.9531 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2666, allocations: 8.375 kB / 0.9531 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.2668, allocations: 73.97 kB / 0.9532 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2668, allocations: 0 / 0.9532 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2668, allocations: 3.984 kB / 0.9532 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2668, allocations: 0 / 0.9532 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.2669, allocations: 39.91 kB / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.2675, allocations: 328.6 kB / 0.9535 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.2676, allocations: 42.56 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.2677, allocations: 36.95 kB / 0.9536 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2677, allocations: 4 kB / 0.9536 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.2679, allocations: 79.38 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.2679, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003671/0.2683, allocations: 141.4 kB / 0.9538 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.2684, allocations: 59.47 kB / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.2684, allocations: 125.8 kB / 0.954 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2685, allocations: 25.7 kB / 0.954 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.2685, allocations: 88.14 kB / 0.9541 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.2685, allocations: 15.75 kB / 0.9541 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.2686, allocations: 33.7 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.2687, allocations: 326.8 kB / 0.9545 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.2688, allocations: 23.98 kB / 0.9545 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.2689, allocations: 46.56 kB / 0.9545 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.269, allocations: 82.48 kB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.269, allocations: 0 / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002242/0.2693, allocations: 109.5 kB / 0.9547 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2693, allocations: 4 kB / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2693, allocations: 0 / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2693, allocations: 4 kB / 0.9547 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.2694, allocations: 15.98 kB / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2694, allocations: 8 kB / 0.9547 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.2695, allocations: 11.84 kB / 0.9548 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2695, allocations: 7.984 kB / 0.9548 GB, free: 3.895 MB / 0.7325 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 8.437e-05/0.2696, allocations: 117.8 kB / 0.9549 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.2696, allocations: 4 kB / 0.9549 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.2697, allocations: 8.375 kB / 0.9549 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2697, allocations: 0 / 0.9549 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2697, allocations: 0 / 0.9549 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2697, allocations: 8 kB / 0.9549 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.2701, allocations: 390.6 kB / 0.9553 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2701, allocations: 0 / 0.9553 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.2702, allocations: 7.984 kB / 0.9553 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2702, allocations: 0 / 0.9553 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.2702, allocations: 0 / 0.9553 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2702, allocations: 0 / 0.9553 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2702, allocations: 3.938 kB / 0.9553 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.2705, allocations: 215.5 kB / 0.9555 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.2705, allocations: 81.02 kB / 0.9556 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.2706, allocations: 8 kB / 0.9556 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.2707, allocations: 3.938 kB / 0.9556 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.2707, allocations: 11.92 kB / 0.9556 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-06/0.2707, allocations: 4 kB / 0.9556 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.103e-05/0.2708, allocations: 95.27 kB / 0.9557 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2708, allocations: 0 / 0.9557 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002793/0.2711, allocations: 39.98 kB / 0.9557 GB, free: 2.816 MB / 0.7325 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.0002993/0.2714, allocations: 165.3 kB / 0.9559 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.2716, allocations: 79.91 kB / 0.956 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2716, allocations: 0 / 0.956 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.2717, allocations: 35.97 kB / 0.956 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.272, allocations: 8 kB / 0.956 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.2724, allocations: 230.6 kB / 0.9562 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.2726, allocations: 0.6883 MB / 0.9569 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.2726, allocations: 15.42 kB / 0.9569 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2727, allocations: 0 / 0.9569 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of Templates: time 0.003184/0.2758, allocations: 1.625 MB / 0.9585 GB, free: 15.92 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches