Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00861/0.00861, 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.001786/0.001786, allocations: 190.7 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.426 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.491/2.491, allocations: 390.2 MB / 0.6649 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7298, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002933/0.7328, allocations: 1.534 MB / 0.9511 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.7341, allocations: 0.7339 MB / 0.9518 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.7341, allocations: 0 / 0.9518 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.722e-05/0.7342, allocations: 3.938 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/0.7343, allocations: 9.078 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.735, allocations: 105 kB / 0.9519 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.7351, allocations: 78.52 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.7352, allocations: 17.92 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.7353, allocations: 29.78 kB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.7354, allocations: 39.86 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.7355, allocations: 4.344 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.7357, allocations: 93.53 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.7357, allocations: 10.73 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.7358, allocations: 36.03 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.736, allocations: 96.28 kB / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.736, allocations: 0 / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.736, allocations: 4 kB / 0.9523 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.736, allocations: 1.031 kB / 0.9523 GB, free: 7.055 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.0007476/0.7368, allocations: 421.2 kB / 0.9527 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.7368, allocations: 9.281 kB / 0.9527 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.7369, allocations: 4.562 kB / 0.9527 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.59e-05/0.737, allocations: 171.2 kB / 0.9529 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.737, allocations: 10.73 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.7371, allocations: 4.031 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.7373, allocations: 89.33 kB / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.7373, allocations: 0 / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.7373, allocations: 0 / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7373, allocations: 1.406 kB / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.7375, allocations: 36.03 kB / 0.953 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.738, allocations: 322.5 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.7382, allocations: 43.81 kB / 0.9534 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.7383, allocations: 36.44 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.7383, allocations: 1.406 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.7385, allocations: 80.31 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.7385, allocations: 1.75 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003848/0.7389, allocations: 139.8 kB / 0.9536 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.7389, allocations: 52.59 kB / 0.9537 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.739, allocations: 121.7 kB / 0.9538 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.7391, allocations: 29.7 kB / 0.9538 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.7391, allocations: 91.66 kB / 0.9539 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.7391, allocations: 17.91 kB / 0.9539 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.7392, allocations: 34.33 kB / 0.9539 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.7392, allocations: 320.9 kB / 0.9542 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.7393, allocations: 26.45 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.7394, allocations: 52.81 kB / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.7396, allocations: 80.94 kB / 0.9544 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7396, allocations: 1.094 kB / 0.9544 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00023/0.7398, allocations: 113.5 kB / 0.9545 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.7398, allocations: 4.844 kB / 0.9545 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7399, allocations: 5.25 kB / 0.9545 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7399, allocations: 0.7188 kB / 0.9545 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.74, allocations: 12.64 kB / 0.9545 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.74, allocations: 5.344 kB / 0.9545 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.7401, allocations: 7.812 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.7401, allocations: 6.656 kB / 0.9545 GB, free: 4.902 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 7.925e-05/0.7402, allocations: 126.7 kB / 0.9547 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.7402, allocations: 7.844 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.7403, allocations: 5.594 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7403, allocations: 1.188 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.7403, allocations: 0 / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7403, allocations: 4 kB / 0.9547 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.7407, allocations: 383.2 kB / 0.955 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7407, allocations: 1.438 kB / 0.955 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.7407, allocations: 6.922 kB / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7407, allocations: 0 / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.7408, allocations: 5.406 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.7408, allocations: 1.406 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7408, allocations: 7.922 kB / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.741, allocations: 205.8 kB / 0.9553 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.7411, allocations: 87.22 kB / 0.9553 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.7411, allocations: 1.156 kB / 0.9554 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.7412, allocations: 2.25 kB / 0.9554 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.7412, allocations: 10.48 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.7412, allocations: 6.812 kB / 0.9554 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.731e-05/0.7413, allocations: 96.77 kB / 0.9555 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7413, allocations: 0 / 0.9555 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003339/0.7416, allocations: 39.81 kB / 0.9555 GB, free: 3.996 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.0003586/0.742, allocations: 172.9 kB / 0.9557 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.7423, allocations: 69.81 kB / 0.9557 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7423, allocations: 0 / 0.9557 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.7424, allocations: 40.44 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.000308/0.7427, allocations: 16.19 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.0003869/0.7431, allocations: 217.8 kB / 0.956 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.7432, allocations: 0.6879 MB / 0.9567 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.7433, allocations: 10.72 kB / 0.9567 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.7433, allocations: 0 / 0.9567 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of Templates: time 0.003888/0.7472, allocations: 1.616 MB / 0.9583 GB, free: 2.074 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches