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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 443.4 MB / 0.7321 GB, free: 12.48 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,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.001978/0.001978, allocations: 59.89 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8428, allocations: 160.8 MB / 1.218 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002879/0.8457, allocations: 1.505 MB / 1.22 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.8471, allocations: 0.7508 MB / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.8472, allocations: 1.281 kB / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.8472, allocations: 3.938 kB / 1.221 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.8472, allocations: 13.17 kB / 1.221 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006011/0.8478, allocations: 135.5 kB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.848, allocations: 75.02 kB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.8481, allocations: 16.36 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.163e-05/0.8482, allocations: 29.98 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.579e-05/0.8483, allocations: 47.44 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.8483, allocations: 6.281 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.8485, allocations: 133.6 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.8486, allocations: 19.27 kB / 1.221 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.8486, allocations: 35.41 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.8489, allocations: 140.5 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8489, allocations: 1.406 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8489, allocations: 0 / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.8489, allocations: 4 kB / 1.221 GB, free: 1.562 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.0006898/0.8496, allocations: 424 kB / 1.222 GB, free: 1.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.8496, allocations: 9.031 kB / 1.222 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.8497, allocations: 9.047 kB / 1.222 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.8498, allocations: 167.9 kB / 1.222 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.8499, allocations: 11.03 kB / 1.222 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.8499, allocations: 3.688 kB / 1.222 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.8501, allocations: 67.72 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8501, allocations: 5.219 kB / 1.222 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.8501, allocations: 7.938 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.8501, allocations: 1.344 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.8502, allocations: 37.31 kB / 1.222 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.8508, allocations: 316.3 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.851, allocations: 50.62 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.8511, allocations: 30.03 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.8511, allocations: 1.5 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.8513, allocations: 77.25 kB / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.8513, allocations: 0 / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003967/0.8517, allocations: 144.8 kB / 1.223 GB, free: 292 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.8517, allocations: 53.75 kB / 1.223 GB, free: 228 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.8519, allocations: 124.3 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.8519, allocations: 26.83 kB / 1.223 GB, free: 76 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.852, allocations: 94.31 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.852, allocations: 18.64 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.8521, allocations: 30.89 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.8522, allocations: 324.6 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.8523, allocations: 22.39 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.913e-05/0.8524, allocations: 48.67 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.8526, allocations: 78.09 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8526, allocations: 4 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002384/0.8528, allocations: 109.7 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.8529, allocations: 11.64 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8529, allocations: 1.094 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.8529, allocations: 1.156 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.853, allocations: 12.19 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.853, allocations: 1.062 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.853, allocations: 16.36 kB / 1.224 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.8531, allocations: 7.219 kB / 1.224 GB, free: 15.42 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.000107/0.8532, allocations: 130.3 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.8532, allocations: 6.953 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.8532, allocations: 13.45 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.8532, allocations: 1.188 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8532, allocations: 1 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8532, allocations: 0 / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.8537, allocations: 386.8 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.8537, allocations: 4 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.8537, allocations: 3.469 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8537, allocations: 0.75 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.8538, allocations: 4.984 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.8538, allocations: 0.7812 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8538, allocations: 3.938 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.854, allocations: 205.8 kB / 1.224 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.8541, allocations: 83.12 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.8541, allocations: 1.125 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.8542, allocations: 11.22 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.8543, allocations: 14.2 kB / 1.224 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.8543, allocations: 1.969 kB / 1.224 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.39e-05/0.8543, allocations: 100.3 kB / 1.224 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8543, allocations: 1.188 kB / 1.224 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000307/0.8546, allocations: 39.75 kB / 1.224 GB, free: 14.5 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.0004032/0.855, allocations: 162 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.8553, allocations: 75.12 kB / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8553, allocations: 1.219 kB / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.8554, allocations: 34.03 kB / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.8557, allocations: 7.297 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.8561, allocations: 198.7 kB / 1.225 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.8565, allocations: 0.6924 MB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.8565, allocations: 7.062 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.8565, allocations: 10.59 kB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.8565, allocations: 0.9375 kB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of Templates: time 0.004681/0.8612, allocations: 1.492 MB / 1.227 GB, free: 12.67 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/jenkins/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] "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time [Calling sys.exit(0), Time elapsed: 8.977682153694332]