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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 108 kB / 15.6 MB, free: 132 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.001261/0.001261, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.225/2.225, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 59.91 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.646, allocations: 140.4 MB / 0.9497 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.00203/0.6481, allocations: 1.464 MB / 0.9511 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008984/0.649, allocations: 0.7387 MB / 0.9519 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.649, allocations: 3.938 kB / 0.9519 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.6491, allocations: 3.938 kB / 0.9519 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.6491, allocations: 9.062 kB / 0.9519 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.6496, allocations: 126.1 kB / 0.952 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.956e-05/0.6496, allocations: 76.58 kB / 0.9521 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.6497, allocations: 20.84 kB / 0.9521 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.6498, allocations: 33.77 kB / 0.9521 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.6499, allocations: 43.94 kB / 0.9522 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.6499, allocations: 6.688 kB / 0.9522 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.6501, allocations: 97.62 kB / 0.9523 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.6501, allocations: 14.83 kB / 0.9523 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.6501, allocations: 28.3 kB / 0.9523 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.6503, allocations: 140.2 kB / 0.9524 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6503, allocations: 0 / 0.9524 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6503, allocations: 0 / 0.9524 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.6503, allocations: 5.469 kB / 0.9525 GB, free: 7.137 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.0004457/0.6508, allocations: 431.5 kB / 0.9529 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.6508, allocations: 9.188 kB / 0.9529 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.522e-05/0.6508, allocations: 31.97 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.6509, allocations: 5.812 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.75e-05/0.6509, allocations: 170.7 kB / 0.9531 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.651, allocations: 11.11 kB / 0.9531 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.651, allocations: 4.812 kB / 0.9531 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.6511, allocations: 72.31 kB / 0.9532 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6511, allocations: 0 / 0.9532 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.6512, allocations: 4 kB / 0.9532 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.6512, allocations: 5.375 kB / 0.9532 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.6513, allocations: 36.34 kB / 0.9532 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.6517, allocations: 321.9 kB / 0.9535 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.6518, allocations: 45.66 kB / 0.9535 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.6519, allocations: 34.73 kB / 0.9536 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.6519, allocations: 1.344 kB / 0.9536 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.6521, allocations: 81.53 kB / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.6521, allocations: 0 / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003232/0.6524, allocations: 144.1 kB / 0.9538 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.6525, allocations: 53.38 kB / 0.9538 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.6525, allocations: 120.7 kB / 0.954 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.6525, allocations: 30.83 kB / 0.954 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.6526, allocations: 90.66 kB / 0.9541 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.6526, allocations: 14.62 kB / 0.9541 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.6526, allocations: 38.23 kB / 0.9541 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.49e-05/0.6527, allocations: 325.2 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.6527, allocations: 26.55 kB / 0.9545 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.6528, allocations: 43.59 kB / 0.9545 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.653, allocations: 73.48 kB / 0.9546 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.653, allocations: 4.938 kB / 0.9546 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000195/0.6532, allocations: 117.4 kB / 0.9547 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.6532, allocations: 8.438 kB / 0.9547 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.6532, allocations: 1.125 kB / 0.9547 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.6532, allocations: 1.156 kB / 0.9547 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.6533, allocations: 13.27 kB / 0.9547 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6533, allocations: 9.125 kB / 0.9547 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.6534, allocations: 7.531 kB / 0.9547 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.6534, allocations: 3.625 kB / 0.9547 GB, free: 4.941 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 5.527e-05/0.6534, allocations: 126.6 kB / 0.9549 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.6535, allocations: 6.281 kB / 0.9549 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.6535, allocations: 6.531 kB / 0.9549 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.6535, allocations: 1.281 kB / 0.9549 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.6535, allocations: 7.938 kB / 0.9549 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6535, allocations: 0 / 0.9549 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.6538, allocations: 384.2 kB / 0.9552 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6538, allocations: 0 / 0.9552 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.6539, allocations: 7.297 kB / 0.9553 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6539, allocations: 1.125 kB / 0.9553 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.6539, allocations: 0 / 0.9553 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.6539, allocations: 5.062 kB / 0.9553 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6539, allocations: 0 / 0.9553 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.6541, allocations: 218.6 kB / 0.9555 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.6541, allocations: 86.05 kB / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.6542, allocations: 1.062 kB / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.6543, allocations: 7.562 kB / 0.9556 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.6543, allocations: 6.484 kB / 0.9556 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.6543, allocations: 6.125 kB / 0.9556 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.966e-05/0.6543, allocations: 95.89 kB / 0.9557 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6543, allocations: 1.156 kB / 0.9557 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002576/0.6546, allocations: 39.69 kB / 0.9557 GB, free: 4.027 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.0005157/0.6551, allocations: 0.8104 MB / 0.9565 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.6553, allocations: 77.41 kB / 0.9566 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6553, allocations: 2.656 kB / 0.9566 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.6554, allocations: 30.17 kB / 0.9566 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.6557, allocations: 18.05 kB / 0.9566 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.6569, allocations: 1.48 MB / 0.9581 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.657, allocations: 0.6931 MB / 0.9587 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.25e-05/0.6571, allocations: 4.688 kB / 0.9587 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.6571, allocations: 18.8 kB / 0.9588 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6571, allocations: 0 / 0.9588 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.52/3.177, allocations: 2.621 MB / 0.9613 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.247/12.42, allocations: 13.94 kB / 0.9613 GB, free: 15.76 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > 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) "" 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