Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001629/0.001629, allocations: 114 kB / 17.6 MB, free: 4.699 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.00176/0.00176, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.505/1.505, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 71.88 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9718/0.9739, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.00259/0.9765, allocations: 1.501 MB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.9777, allocations: 0.7429 MB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.9777, allocations: 4 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.9777, allocations: 6.016 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.797e-05/0.9778, allocations: 10.03 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.9783, allocations: 125.3 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.9784, allocations: 77.73 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.9785, allocations: 13.64 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.9786, allocations: 33.02 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.9787, allocations: 39.72 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.9787, allocations: 9.875 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.9789, allocations: 104.8 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.9789, allocations: 20.66 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.9789, allocations: 30.34 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.9792, allocations: 141.8 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9792, allocations: 4 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9792, allocations: 0.6562 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.9792, allocations: 0 / 1.274 GB, free: 5.902 MB / 0.9981 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.0005296/0.9797, allocations: 419.7 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.9797, allocations: 13.72 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.9798, allocations: 31.69 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.9798, allocations: 9.203 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.611e-05/0.9799, allocations: 182.7 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.9799, allocations: 3.062 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.9799, allocations: 4.281 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.9801, allocations: 75.72 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9801, allocations: 3.938 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.9801, allocations: 4.844 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.9801, allocations: 4.906 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.9802, allocations: 37.61 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.9808, allocations: 322.2 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.9809, allocations: 42.41 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.981, allocations: 31.36 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.981, allocations: 5.562 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.9812, allocations: 81.53 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.9812, allocations: 0 / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003979/0.9816, allocations: 132 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.9816, allocations: 62.61 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.9817, allocations: 122.3 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.9817, allocations: 28.61 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.9817, allocations: 95.45 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.9818, allocations: 11.94 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.9818, allocations: 28.91 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.9819, allocations: 323.9 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.9819, allocations: 23.2 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.698e-05/0.982, allocations: 49.94 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.9822, allocations: 77.2 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.9822, allocations: 0 / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002469/0.9824, allocations: 112.6 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.9824, allocations: 5.25 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.9824, allocations: 0.8125 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.9825, allocations: 6.484 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.852e-05/0.9826, allocations: 15.19 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.9826, allocations: 0.9375 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.9826, allocations: 13.28 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.9826, allocations: 5.344 kB / 1.277 GB, free: 3.867 MB / 0.9981 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.287e-05/0.9827, allocations: 123.4 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.9827, allocations: 6.734 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.9828, allocations: 11.75 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.9828, allocations: 0.75 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9828, allocations: 0 / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.9828, allocations: 2.969 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.9831, allocations: 380.5 kB / 1.277 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.9831, allocations: 1.422 kB / 1.277 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.9832, allocations: 12.88 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.9832, allocations: 0.9688 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.9832, allocations: 2.609 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9832, allocations: 3.938 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9832, allocations: 1.156 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.9834, allocations: 208.5 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.9835, allocations: 78.86 kB / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.9835, allocations: 9.453 kB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.9836, allocations: 12.48 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.9836, allocations: 9.391 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.9836, allocations: 3.406 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.9837, allocations: 95.42 kB / 1.277 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9837, allocations: 0 / 1.277 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003229/0.984, allocations: 42.62 kB / 1.278 GB, free: 3.008 MB / 0.9981 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.0006527/0.9846, allocations: 0.8064 MB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.9849, allocations: 73.8 kB / 1.278 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9849, allocations: 1.094 kB / 1.278 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.985, allocations: 34.66 kB / 1.278 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.9852, allocations: 9.266 kB / 1.278 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.9867, allocations: 1.513 MB / 1.28 GB, free: 16.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.987, allocations: 0.6914 MB / 1.281 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.987, allocations: 7.094 kB / 1.281 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.9871, allocations: 18.91 kB / 1.281 GB, free: 16.21 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.9871, allocations: 3.938 kB / 1.281 GB, free: 16.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/1.013, allocations: 2.647 MB / 1.283 GB, free: 15.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/9.167, allocations: 15.98 kB / 1.283 GB, free: 15.7 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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,TOut.y,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.p,hea.samplePeriod,hea.seed,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 15.488158049993217]