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.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.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.001264/0.001264, allocations: 105.8 kB / 16.41 MB, free: 6.465 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.001286/0.001286, allocations: 187 kB / 17.34 MB, free: 5.719 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 / 241 MB, free: 15.07 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.219/2.219, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7881/0.7893, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002543/0.7919, allocations: 1.493 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.7931, allocations: 0.7272 MB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.7932, allocations: 0.9688 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.7932, allocations: 5.203 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/0.7933, allocations: 14.88 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.7938, allocations: 117.4 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.7939, allocations: 81.27 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.794, allocations: 11.2 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.7942, allocations: 40.34 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.7942, allocations: 36.72 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.7943, allocations: 6.531 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.7945, allocations: 94.03 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.7945, allocations: 27.5 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.7946, allocations: 31.62 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.7948, allocations: 138.3 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7949, allocations: 4.875 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7949, allocations: 0 / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7949, allocations: 0 / 1.091 GB, free: 3.742 MB / 0.8575 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.0005295/0.7954, allocations: 421.8 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.7954, allocations: 8.812 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.7955, allocations: 8.125 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.425e-05/0.7956, allocations: 170.4 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.7956, allocations: 6.562 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.7956, allocations: 8.922 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.7958, allocations: 80.5 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.7958, allocations: 0 / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.7958, allocations: 1.922 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7959, allocations: 0.7188 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.796, allocations: 36.12 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.7965, allocations: 318.2 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.7967, allocations: 49.34 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.7968, allocations: 33.11 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.7968, allocations: 0.7812 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.797, allocations: 77.19 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.797, allocations: 0 / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003955/0.7974, allocations: 146.1 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.7974, allocations: 54.14 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.7975, allocations: 118.5 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.7975, allocations: 31.02 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.7976, allocations: 91.98 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.7976, allocations: 11.92 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.7977, allocations: 29.48 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.7977, allocations: 324 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.7978, allocations: 30.61 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/0.7979, allocations: 46.75 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.7981, allocations: 80.34 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7981, allocations: 0.5625 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002471/0.7983, allocations: 116.3 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7983, allocations: 5.438 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7984, allocations: 1.812 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7984, allocations: 5.062 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.7985, allocations: 12.31 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.7985, allocations: 4.812 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.7986, allocations: 17.59 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.7986, allocations: 3.625 kB / 1.094 GB, free: 1.754 MB / 0.8575 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.378e-05/0.7987, allocations: 129.2 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.7987, allocations: 7.953 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.7987, allocations: 7.016 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.7987, allocations: 0.875 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7987, allocations: 1.703 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.7988, allocations: 7.984 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.7992, allocations: 374.3 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7992, allocations: 5.406 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.7992, allocations: 5.25 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.7992, allocations: 0 / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.7993, allocations: 2.719 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7993, allocations: 0.5938 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7993, allocations: 4.5 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.7995, allocations: 215.9 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.7996, allocations: 83.12 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.7996, allocations: 2.172 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.7997, allocations: 4.031 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.7998, allocations: 13.03 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.7998, allocations: 3.781 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.7998, allocations: 95.39 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7998, allocations: 0 / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000338/0.8002, allocations: 46.52 kB / 1.095 GB, free: 0.8984 MB / 0.8575 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.000357/0.8005, allocations: 160.2 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.8008, allocations: 72.41 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8008, allocations: 3.938 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.8009, allocations: 33.89 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.8012, allocations: 9.812 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.8016, allocations: 215.2 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.8018, allocations: 0.6908 MB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.8018, allocations: 16.89 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.8018, allocations: 0 / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.004545/0.8064, allocations: 1.623 MB / 1.097 GB, free: 15.7 MB / 0.8731 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