Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 102.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 443.5 MB / 0.731 GB, free: 12.7 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=551,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=551,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 1.06 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7908, allocations: 160.7 MB / 1.217 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002764/0.7935, allocations: 1.479 MB / 1.218 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.7949, allocations: 0.7478 MB / 1.219 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.7949, allocations: 4 kB / 1.219 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.795, allocations: 3.938 kB / 1.219 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.795, allocations: 7.875 kB / 1.219 GB, free: 2.789 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005362/0.7956, allocations: 123.6 kB / 1.219 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.7957, allocations: 79.77 kB / 1.219 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.7958, allocations: 8 kB / 1.219 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.753e-05/0.7959, allocations: 35.84 kB / 1.219 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.7959, allocations: 39.83 kB / 1.219 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.7959, allocations: 12 kB / 1.219 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.7962, allocations: 103.9 kB / 1.219 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.7962, allocations: 15.98 kB / 1.219 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.7962, allocations: 27.8 kB / 1.219 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.7965, allocations: 146.2 kB / 1.219 GB, free: 2.211 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7965, allocations: 0 / 1.219 GB, free: 2.211 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7965, allocations: 0 / 1.219 GB, free: 2.211 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7965, allocations: 0 / 1.219 GB, free: 2.211 MB / 0.92 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.0006855/0.7972, allocations: 424.7 kB / 1.22 GB, free: 1.742 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.7972, allocations: 16.03 kB / 1.22 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.7973, allocations: 8.891 kB / 1.22 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.7974, allocations: 172.3 kB / 1.22 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.7975, allocations: 4.375 kB / 1.22 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.7975, allocations: 12.36 kB / 1.22 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.7977, allocations: 73.91 kB / 1.22 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7977, allocations: 0 / 1.22 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.7977, allocations: 3.984 kB / 1.22 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.7977, allocations: 0 / 1.22 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.7978, allocations: 39.97 kB / 1.22 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.7985, allocations: 308.8 kB / 1.22 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.7986, allocations: 46.5 kB / 1.22 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.7987, allocations: 32.97 kB / 1.22 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.7987, allocations: 4 kB / 1.22 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.7989, allocations: 75.44 kB / 1.22 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.7989, allocations: 4 kB / 1.22 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003974/0.7993, allocations: 141.6 kB / 1.221 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.7994, allocations: 59.34 kB / 1.221 GB, free: 0.625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.7995, allocations: 125.7 kB / 1.221 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.7995, allocations: 33.7 kB / 1.221 GB, free: 464 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.7996, allocations: 92.08 kB / 1.221 GB, free: 368 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.7996, allocations: 19.84 kB / 1.221 GB, free: 348 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.7996, allocations: 25.7 kB / 1.221 GB, free: 316 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.7998, allocations: 322.8 kB / 1.221 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.7999, allocations: 27.97 kB / 1.221 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.8, allocations: 50.56 kB / 1.221 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.8002, allocations: 78.47 kB / 1.221 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8002, allocations: 4 kB / 1.221 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000244/0.8004, allocations: 117.6 kB / 1.221 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.8004, allocations: 4 kB / 1.221 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.8004, allocations: 0 / 1.221 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.8004, allocations: 4 kB / 1.222 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.8006, allocations: 11.98 kB / 1.222 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8006, allocations: 0 / 1.222 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.8006, allocations: 4 kB / 1.222 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.8006, allocations: 4 kB / 1.222 GB, free: 15.66 MB / 0.9356 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.0001061/0.8007, allocations: 129.7 kB / 1.222 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.8008, allocations: 15.94 kB / 1.222 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.8008, allocations: 4.375 kB / 1.222 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.8008, allocations: 0 / 1.222 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8008, allocations: 4 kB / 1.222 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.8008, allocations: 0 / 1.222 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005056/0.8013, allocations: 386.4 kB / 1.222 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8013, allocations: 0 / 1.222 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.8013, allocations: 7.938 kB / 1.222 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8014, allocations: 4 kB / 1.222 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.8014, allocations: 3.984 kB / 1.222 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.8014, allocations: 0 / 1.222 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8014, allocations: 3.938 kB / 1.222 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.8017, allocations: 203.5 kB / 1.222 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.8017, allocations: 85.05 kB / 1.222 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.8017, allocations: 4 kB / 1.222 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.8018, allocations: 4 kB / 1.222 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.8019, allocations: 11.92 kB / 1.222 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.8019, allocations: 4 kB / 1.222 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.8019, allocations: 99.86 kB / 1.222 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8019, allocations: 0 / 1.222 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003204/0.8023, allocations: 35.94 kB / 1.222 GB, free: 14.57 MB / 0.9356 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.0004173/0.8027, allocations: 174.3 kB / 1.223 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.8029, allocations: 71.94 kB / 1.223 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8029, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/0.803, allocations: 31.92 kB / 1.223 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.8033, allocations: 11.98 kB / 1.223 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.8038, allocations: 218.7 kB / 1.223 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.8041, allocations: 0.6885 MB / 1.224 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.8041, allocations: 15.38 kB / 1.224 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.8041, allocations: 0 / 1.224 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.003858/0.808, allocations: 1.628 MB / 1.225 GB, free: 11.69 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches