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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_10_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.006565/0.006565, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001274/0.001274, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 71.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3505, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002709/0.3532, allocations: 1.482 MB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3546, allocations: 0.7284 MB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.3546, allocations: 4 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.3547, allocations: 3.938 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.3548, allocations: 7.875 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.3554, allocations: 123.6 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3555, allocations: 87.69 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.3556, allocations: 12 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.3557, allocations: 31.91 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.3558, allocations: 35.89 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3558, allocations: 11.94 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.356, allocations: 99.84 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.3561, allocations: 11.98 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.3561, allocations: 27.86 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.3564, allocations: 146.5 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3564, allocations: 0 / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.096e-06/0.3564, allocations: 3.938 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3564, allocations: 3.938 kB / 1.169 GB, free: 4.512 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.000605/0.357, allocations: 421.8 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3571, allocations: 8.031 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.3571, allocations: 34.75 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.3572, allocations: 8.844 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.3573, allocations: 176.2 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.3573, allocations: 8.375 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.3574, allocations: 8.312 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.3576, allocations: 69.78 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3576, allocations: 0 / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3576, allocations: 0 / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3576, allocations: 0 / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.3577, allocations: 43.91 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.3583, allocations: 312.8 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3585, allocations: 50.55 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.214e-05/0.3586, allocations: 36.97 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3586, allocations: 4.062 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.3588, allocations: 87.22 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.3588, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003854/0.3592, allocations: 129.9 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3593, allocations: 55.41 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3594, allocations: 129.7 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3594, allocations: 29.7 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.3595, allocations: 92.08 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.3595, allocations: 19.8 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.3596, allocations: 25.7 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3597, allocations: 326.8 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.3598, allocations: 31.92 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.3599, allocations: 46.98 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.36, allocations: 74.62 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.36, allocations: 0 / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002322/0.3603, allocations: 113.5 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3603, allocations: 4 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3603, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3603, allocations: 4 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3604, allocations: 19.98 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3605, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.818e-05/0.3605, allocations: 8 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3606, allocations: 7.984 kB / 1.171 GB, free: 1.918 MB / 0.92 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 9.873e-05/0.3607, allocations: 121.7 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.3607, allocations: 7.906 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.3607, allocations: 8.375 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3607, allocations: 4 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3607, allocations: 4 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3607, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.3612, allocations: 382.4 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3612, allocations: 0 / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.3613, allocations: 7.984 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3613, allocations: 3.984 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3613, allocations: 3.938 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3613, allocations: 7.875 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3613, allocations: 4 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.3616, allocations: 215.3 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.3616, allocations: 85.02 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.3617, allocations: 0 / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.3618, allocations: 7.922 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.3618, allocations: 4 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3618, allocations: 4 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.3619, allocations: 103.4 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3619, allocations: 0 / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003035/0.3622, allocations: 35.98 kB / 1.172 GB, free: 0.8281 MB / 0.92 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.0007964/0.363, allocations: 0.8039 MB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.3633, allocations: 71.97 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3633, allocations: 0 / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3634, allocations: 35.98 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3637, allocations: 15.98 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3653, allocations: 1.493 MB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3656, allocations: 0.6924 MB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.831e-05/0.3657, allocations: 4 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.3657, allocations: 23.42 kB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3657, allocations: 0 / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.386, allocations: 2.646 MB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.077, allocations: 13.33 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) 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) "" 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