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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007626/0.007626, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.00179/0.00179, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 67.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6258/0.6274, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003082/0.6305, allocations: 1.539 MB / 0.9511 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.6316, allocations: 0.7319 MB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.6317, allocations: 1.062 kB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.6317, allocations: 3.938 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.6318, allocations: 5.625 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.6322, allocations: 105.3 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.6323, allocations: 82.09 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.6324, allocations: 14.73 kB / 0.952 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.71e-05/0.6325, allocations: 29.23 kB / 0.952 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.6326, allocations: 44.09 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.6326, allocations: 2.562 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.6328, allocations: 86.47 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.6328, allocations: 14.45 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.6329, allocations: 33.05 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.633, allocations: 103.4 kB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.633, allocations: 1.094 kB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.633, allocations: 0 / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.633, allocations: 7.875 kB / 0.9523 GB, free: 7.043 MB / 0.7169 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.0005518/0.6336, allocations: 422.9 kB / 0.9527 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.6336, allocations: 8.594 kB / 0.9527 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.6337, allocations: 3.594 kB / 0.9527 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.6338, allocations: 169 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.6338, allocations: 11.12 kB / 0.9529 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.6338, allocations: 7.641 kB / 0.9529 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.634, allocations: 79.89 kB / 0.953 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.634, allocations: 0 / 0.953 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.6341, allocations: 5.359 kB / 0.953 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.6341, allocations: 1.312 kB / 0.953 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.6342, allocations: 35.64 kB / 0.953 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.6347, allocations: 326.8 kB / 0.9533 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.6349, allocations: 44.28 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.804e-05/0.635, allocations: 30.88 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.635, allocations: 1.406 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.6352, allocations: 81.97 kB / 0.9535 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.6352, allocations: 0 / 0.9535 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003785/0.6356, allocations: 139.9 kB / 0.9536 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.6356, allocations: 57.64 kB / 0.9537 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.6357, allocations: 116.9 kB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.6357, allocations: 30.89 kB / 0.9538 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.6357, allocations: 95.25 kB / 0.9539 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.6358, allocations: 14.06 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.6358, allocations: 25.98 kB / 0.9539 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.6359, allocations: 320.1 kB / 0.9542 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.6359, allocations: 30.59 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.552e-05/0.636, allocations: 49.84 kB / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.6362, allocations: 73.3 kB / 0.9544 GB, free: 5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6362, allocations: 0 / 0.9544 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000217/0.6364, allocations: 116.7 kB / 0.9545 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.6364, allocations: 6.531 kB / 0.9545 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6364, allocations: 4 kB / 0.9545 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.6365, allocations: 5.406 kB / 0.9545 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.6366, allocations: 17.27 kB / 0.9545 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.6366, allocations: 0 / 0.9545 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.6366, allocations: 8.156 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.6367, allocations: 4.453 kB / 0.9545 GB, free: 4.906 MB / 0.7169 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 6.749e-05/0.6367, allocations: 122.2 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.6368, allocations: 7 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.6368, allocations: 13.39 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6368, allocations: 5.062 kB / 0.9547 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6368, allocations: 5 kB / 0.9547 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.6368, allocations: 0 / 0.9547 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.6372, allocations: 386.7 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6372, allocations: 1.844 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.6372, allocations: 3.188 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6372, allocations: 0 / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.6373, allocations: 9.578 kB / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6373, allocations: 0 / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6373, allocations: 3.938 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.6375, allocations: 210.4 kB / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.6375, allocations: 82.52 kB / 0.9554 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.6376, allocations: 5.141 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.6377, allocations: 2.562 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.6377, allocations: 14.3 kB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.6377, allocations: 7.062 kB / 0.9554 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.6378, allocations: 96.98 kB / 0.9555 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6378, allocations: 0 / 0.9555 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002878/0.6381, allocations: 39.69 kB / 0.9555 GB, free: 3.984 MB / 0.7169 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.0003014/0.6384, allocations: 162.6 kB / 0.9557 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.6386, allocations: 73.27 kB / 0.9557 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6386, allocations: 0 / 0.9557 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.417e-05/0.6387, allocations: 32.2 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.639, allocations: 11.3 kB / 0.9558 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.6394, allocations: 222.1 kB / 0.956 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.6395, allocations: 0.692 MB / 0.9567 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.6395, allocations: 11.09 kB / 0.9567 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6395, allocations: 0 / 0.9567 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of Templates: time 0.003151/0.6427, allocations: 1.614 MB / 0.9583 GB, free: 2.07 MB / 0.7169 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