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.0009613/0.0009612, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 183 kB / 16.92 MB, free: 6.918 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.367 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.386/2.386, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 11.94 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7016/0.702, allocations: 142.4 MB / 0.9557 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001389/0.7034, allocations: 1.2 MB / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.7045, allocations: 0.7176 MB / 0.9576 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.7046, allocations: 1.219 kB / 0.9576 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.7046, allocations: 0 / 0.9576 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.777e-05/0.7047, allocations: 13.98 kB / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.7051, allocations: 99.89 kB / 0.9577 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.097e-05/0.7052, allocations: 78.89 kB / 0.9578 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.7053, allocations: 13.98 kB / 0.9578 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.7054, allocations: 33.38 kB / 0.9578 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.7054, allocations: 35.3 kB / 0.9578 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.7055, allocations: 2.656 kB / 0.9578 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.7056, allocations: 94.28 kB / 0.9579 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.7057, allocations: 14.59 kB / 0.9579 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.7057, allocations: 54 kB / 0.958 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.7059, allocations: 104.4 kB / 0.9581 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.7059, allocations: 0 / 0.9581 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.664e-06/0.7059, allocations: 0 / 0.9581 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.7059, allocations: 0 / 0.9581 GB, free: 5.895 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.0004526/0.7064, allocations: 410.1 kB / 0.9585 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.7064, allocations: 9.281 kB / 0.9585 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.7064, allocations: 8.094 kB / 0.9585 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.568e-05/0.7065, allocations: 176.3 kB / 0.9587 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.7066, allocations: 6.344 kB / 0.9587 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.7066, allocations: 5.031 kB / 0.9587 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.7068, allocations: 78.14 kB / 0.9588 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.7068, allocations: 1.281 kB / 0.9588 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.7068, allocations: 0 / 0.9588 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.7068, allocations: 1.281 kB / 0.9588 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.7069, allocations: 46.44 kB / 0.9588 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.7074, allocations: 326.1 kB / 0.9591 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.7076, allocations: 54.31 kB / 0.9592 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.184e-05/0.7077, allocations: 34.97 kB / 0.9592 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.7077, allocations: 1.672 kB / 0.9592 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.7079, allocations: 84.25 kB / 0.9593 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.7079, allocations: 7.938 kB / 0.9593 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003707/0.7083, allocations: 147.8 kB / 0.9594 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.7083, allocations: 58.98 kB / 0.9595 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.7084, allocations: 116.4 kB / 0.9596 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.7084, allocations: 29.7 kB / 0.9596 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.7084, allocations: 99.66 kB / 0.9597 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.7084, allocations: 13.59 kB / 0.9597 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.7085, allocations: 19.12 kB / 0.9597 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.7085, allocations: 324.5 kB / 0.9601 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.7086, allocations: 24.08 kB / 0.9601 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.514e-05/0.7087, allocations: 59.16 kB / 0.9601 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.7089, allocations: 76.19 kB / 0.9602 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7089, allocations: 0 / 0.9602 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002261/0.7091, allocations: 123.1 kB / 0.9603 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.7091, allocations: 5.5 kB / 0.9603 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.7091, allocations: 0 / 0.9603 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.7092, allocations: 1.375 kB / 0.9603 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.7092, allocations: 13.61 kB / 0.9603 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.7093, allocations: 1.375 kB / 0.9603 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.7093, allocations: 17.42 kB / 0.9604 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.7093, allocations: 10.75 kB / 0.9604 GB, free: 3.75 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.229e-05/0.7094, allocations: 119.3 kB / 0.9605 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.7094, allocations: 6.656 kB / 0.9605 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.7095, allocations: 9.75 kB / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7095, allocations: 1.375 kB / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7095, allocations: 0 / 0.9605 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.7095, allocations: 7.922 kB / 0.9605 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.7098, allocations: 388.4 kB / 0.9609 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7099, allocations: 1.375 kB / 0.9609 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.7099, allocations: 4.125 kB / 0.9609 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7099, allocations: 4 kB / 0.9609 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.7099, allocations: 5.375 kB / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7099, allocations: 1.375 kB / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7099, allocations: 3.938 kB / 0.9609 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.7102, allocations: 214.4 kB / 0.9611 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.7102, allocations: 83.77 kB / 0.9612 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.7102, allocations: 1.375 kB / 0.9612 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.7103, allocations: 16.05 kB / 0.9612 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.7104, allocations: 14.62 kB / 0.9612 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.7104, allocations: 5.359 kB / 0.9612 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.7104, allocations: 89.56 kB / 0.9613 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7104, allocations: 0 / 0.9613 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002961/0.7107, allocations: 44.45 kB / 0.9614 GB, free: 2.836 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.0002903/0.711, allocations: 164.4 kB / 0.9615 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.7113, allocations: 79.92 kB / 0.9616 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7113, allocations: 0 / 0.9616 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.7114, allocations: 39.25 kB / 0.9616 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.7116, allocations: 12.25 kB / 0.9616 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.712, allocations: 241.9 kB / 0.9619 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.966e-05/0.7121, allocations: 0.6882 MB / 0.9625 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.7121, allocations: 14.47 kB / 0.9626 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.7122, allocations: 0.8438 kB / 0.9626 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.003172/0.7153, allocations: 1.605 MB / 0.9641 GB, free: 0.9062 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