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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 218.1 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.963/2.963, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.77 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3749, allocations: 169.9 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003124/0.378, allocations: 1.516 MB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3797, allocations: 0.8235 MB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.3798, allocations: 0 / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.3798, allocations: 3.938 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.3798, allocations: 11.88 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.3805, allocations: 143.5 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3807, allocations: 79.78 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.3807, allocations: 12.17 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.3809, allocations: 43.84 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.381, allocations: 39.83 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.381, allocations: 4 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.3813, allocations: 147.8 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.3813, allocations: 19.92 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.3814, allocations: 39.78 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.3817, allocations: 143.1 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3817, allocations: 4 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3817, allocations: 4 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3817, allocations: 0 / 1.286 GB, free: 8.715 MB / 0.9825 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.0006785/0.3824, allocations: 355.5 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3824, allocations: 8.031 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.3825, allocations: 30.75 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.3829, allocations: 36.86 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.3831, allocations: 130.4 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.3832, allocations: 12.3 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3832, allocations: 8.312 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3834, allocations: 73.58 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3834, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3834, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3834, allocations: 4 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.3835, allocations: 39.95 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.3842, allocations: 283.9 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.3843, allocations: 46.5 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.3844, allocations: 28.97 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3844, allocations: 7.938 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.3846, allocations: 75.38 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3846, allocations: 0 / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000423/0.385, allocations: 145.6 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.385, allocations: 59.39 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3852, allocations: 120.5 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3852, allocations: 29.7 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.3852, allocations: 100.1 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.3853, allocations: 15.84 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.3853, allocations: 25.7 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3855, allocations: 322.8 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-05/0.3856, allocations: 31.97 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.457e-05/0.3857, allocations: 42.56 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.3859, allocations: 78.48 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3859, allocations: 0 / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002502/0.3861, allocations: 117.8 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3861, allocations: 4 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.3861, allocations: 0 / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3861, allocations: 8.062 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3862, allocations: 19.92 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3862, allocations: 0 / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.3863, allocations: 4 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3863, allocations: 7.938 kB / 1.288 GB, free: 6.27 MB / 0.9825 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.0001076/0.3864, allocations: 121.8 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.3865, allocations: 11.94 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.3865, allocations: 4.375 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3865, allocations: 8 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/0.3865, allocations: 0 / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.3865, allocations: 0 / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.387, allocations: 357.4 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.387, allocations: 0 / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.3871, allocations: 4 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3871, allocations: 0 / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3871, allocations: 3.984 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3871, allocations: 7.938 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3871, allocations: 4 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.3874, allocations: 203.5 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.3874, allocations: 11.89 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.3874, allocations: 3.984 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.061e-05/0.3875, allocations: 7.938 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.3875, allocations: 7.984 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.3876, allocations: 8 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.797e-05/0.3876, allocations: 104.5 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3876, allocations: 0 / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003196/0.3879, allocations: 35.94 kB / 1.289 GB, free: 5.305 MB / 0.9825 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.000945/0.3889, allocations: 0.8071 MB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.3891, allocations: 71.89 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3891, allocations: 0 / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.534e-05/0.3892, allocations: 28.45 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.3895, allocations: 13.61 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.3914, allocations: 1.508 MB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3918, allocations: 0.6924 MB / 1.292 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.3918, allocations: 4 kB / 1.292 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.3918, allocations: 23.42 kB / 1.292 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.3918, allocations: 3.938 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03357/0.4254, allocations: 2.829 MB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.62, allocations: 7.141 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB " [Timeout remaining time 288] (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 --stepSize=1.44 --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/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.continuous,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: 18.43305742321536]