Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 104.4 kB / 15.98 MB, free: 6.344 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.001196/0.001196, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.209/2.209, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 64.41 kB / 0.8127 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2604, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.00309/0.2635, allocations: 1.541 MB / 0.9513 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.265, allocations: 0.7207 MB / 0.952 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.2651, allocations: 0 / 0.952 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.2651, allocations: 0 / 0.952 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.2652, allocations: 11.86 kB / 0.952 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.2659, allocations: 107.8 kB / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.266, allocations: 83.77 kB / 0.9522 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.023e-05/0.2661, allocations: 15.97 kB / 0.9522 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.459e-05/0.2662, allocations: 31.92 kB / 0.9522 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.372e-05/0.2663, allocations: 39.83 kB / 0.9523 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.2663, allocations: 11.88 kB / 0.9523 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.2665, allocations: 99.89 kB / 0.9524 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.2665, allocations: 11.98 kB / 0.9524 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.2666, allocations: 39.8 kB / 0.9524 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.2668, allocations: 104 kB / 0.9525 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.2668, allocations: 4 kB / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2668, allocations: 0 / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2668, allocations: 0 / 0.9525 GB, free: 6.422 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.0006425/0.2675, allocations: 416.9 kB / 0.9529 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2675, allocations: 8.031 kB / 0.9529 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.2676, allocations: 8.844 kB / 0.9529 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2677, allocations: 172.3 kB / 0.9531 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2677, allocations: 8.375 kB / 0.9531 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.2678, allocations: 4.375 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.268, allocations: 73.95 kB / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.268, allocations: 0 / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.268, allocations: 0 / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.268, allocations: 4 kB / 0.9532 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2681, allocations: 39.91 kB / 0.9532 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.2688, allocations: 324.6 kB / 0.9535 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.2689, allocations: 42.56 kB / 0.9536 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.269, allocations: 32.97 kB / 0.9536 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.269, allocations: 4 kB / 0.9536 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.2693, allocations: 79.38 kB / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.2693, allocations: 0 / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004021/0.2697, allocations: 149.5 kB / 0.9538 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2697, allocations: 51.41 kB / 0.9539 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2698, allocations: 125.8 kB / 0.954 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2699, allocations: 25.7 kB / 0.954 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.2699, allocations: 96.14 kB / 0.9541 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.27, allocations: 19.73 kB / 0.9541 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.27, allocations: 29.7 kB / 0.9541 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2701, allocations: 318.8 kB / 0.9545 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.193e-05/0.2702, allocations: 27.98 kB / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.083e-05/0.2703, allocations: 46.55 kB / 0.9545 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.2705, allocations: 78.48 kB / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2705, allocations: 0 / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002429/0.2708, allocations: 109.5 kB / 0.9547 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2708, allocations: 5.875 kB / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.2708, allocations: 11.98 kB / 0.9547 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2708, allocations: 4.062 kB / 0.9547 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.2709, allocations: 15.94 kB / 0.9547 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.271, allocations: 3.938 kB / 0.9547 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.271, allocations: 15.83 kB / 0.9548 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.2711, allocations: 4 kB / 0.9548 GB, free: 3.867 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 0.0001002/0.2712, allocations: 117.8 kB / 0.9549 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.2712, allocations: 4 kB / 0.9549 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.2712, allocations: 20.36 kB / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2712, allocations: 0 / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2712, allocations: 0 / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2712, allocations: 0 / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.2717, allocations: 386.3 kB / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.2717, allocations: 0 / 0.9553 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.2718, allocations: 4 kB / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2718, allocations: 3.984 kB / 0.9553 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2718, allocations: 0 / 0.9553 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2718, allocations: 11.98 kB / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2718, allocations: 3.938 kB / 0.9553 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.2721, allocations: 203.4 kB / 0.9555 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.2722, allocations: 85.02 kB / 0.9556 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2722, allocations: 4 kB / 0.9556 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.2723, allocations: 7.984 kB / 0.9556 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.2723, allocations: 7.938 kB / 0.9556 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2724, allocations: 7.984 kB / 0.9556 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.019e-05/0.2724, allocations: 91.27 kB / 0.9557 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2724, allocations: 0 / 0.9557 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003161/0.2728, allocations: 36 kB / 0.9557 GB, free: 2.793 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.0004183/0.2732, allocations: 163.4 kB / 0.9559 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.2735, allocations: 83.81 kB / 0.9559 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2735, allocations: 0 / 0.9559 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.2736, allocations: 31.98 kB / 0.956 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.2738, allocations: 11.98 kB / 0.956 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.2743, allocations: 230.7 kB / 0.9562 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.2747, allocations: 0.6922 MB / 0.9569 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.2747, allocations: 11.44 kB / 0.9569 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2747, allocations: 0 / 0.9569 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.003768/0.2785, allocations: 1.618 MB / 0.9585 GB, free: 15.9 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches