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.0008286/0.0008286, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008467/0.0008467, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8945/0.8945, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.659/1.659, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.795e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002031/0.002049, allocations: 1.49 MB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.003099, allocations: 0.76 MB / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.003157, allocations: 11.94 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.003186, allocations: 7.922 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.003237, allocations: 11.86 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.0038, allocations: 139.5 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.003917, allocations: 83.7 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.00401, allocations: 4.188 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.004149, allocations: 63.75 kB / 0.953 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.082e-05/0.0042, allocations: 27.95 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.00422, allocations: 12 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.004419, allocations: 139.7 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.00444, allocations: 15.98 kB / 0.9531 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.004477, allocations: 31.84 kB / 0.9532 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.004698, allocations: 171.5 kB / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.0047, allocations: 0 / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004701, allocations: 3.938 kB / 0.9533 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.004705, allocations: 0 / 0.9533 GB, free: 0.5469 MB / 0.9011 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.0005177/0.005223, allocations: 343.6 kB / 0.9537 GB, free: 180 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.005261, allocations: 12.03 kB / 0.9537 GB, free: 168 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.005293, allocations: 38.73 kB / 0.9537 GB, free: 120 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.005471, allocations: 32.88 kB / 0.9538 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.005641, allocations: 125.7 kB / 0.9539 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.005661, allocations: 384 / 0.9539 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.005673, allocations: 4.375 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.005804, allocations: 74.16 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.005811, allocations: 192 / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.00582, allocations: 3.938 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.005824, allocations: 4 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.49e-05/0.005899, allocations: 39.97 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.006285, allocations: 275.8 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.684e-05/0.006372, allocations: 50.44 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.006418, allocations: 32.91 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.006439, allocations: 4 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.00655, allocations: 75.38 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.006552, allocations: 0 / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002878/0.006839, allocations: 145.5 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.006879, allocations: 59.45 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.006956, allocations: 125.2 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.006969, allocations: 25.7 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.007014, allocations: 92.12 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.007031, allocations: 15.91 kB / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.007069, allocations: 33.7 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.007151, allocations: 326.8 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.007199, allocations: 23.98 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-05/0.007255, allocations: 46.56 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.007356, allocations: 74.8 kB / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.007358, allocations: 0 / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001442/0.007502, allocations: 121.5 kB / 0.9555 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.007515, allocations: 6.344 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.007521, allocations: 0 / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.007536, allocations: 4 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.007594, allocations: 11.98 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.007599, allocations: 0 / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.007638, allocations: 15.89 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.00765, allocations: 4 kB / 0.9555 GB, free: 14.13 MB / 0.9167 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 7.131e-05/0.007721, allocations: 129.8 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-06/0.007731, allocations: 7.953 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.007755, allocations: 12.38 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.007757, allocations: 4 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.007762, allocations: 3.938 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.007766, allocations: 0 / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.008068, allocations: 341.6 kB / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.00807, allocations: 0 / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.008088, allocations: 11.92 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.00809, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.0081, allocations: 11.98 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008102, allocations: 4 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008103, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.008265, allocations: 211.4 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.008276, allocations: 7.953 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.008288, allocations: 0 / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.008332, allocations: 11.98 kB / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.008373, allocations: 3.984 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.008385, allocations: 11.92 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.008423, allocations: 87.28 kB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008423, allocations: 4 kB / 0.9563 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002255/0.008649, allocations: 47.86 kB / 0.9564 GB, free: 13.16 MB / 0.9167 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.0006382/0.009287, allocations: 0.8181 MB / 0.9572 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.009473, allocations: 68.28 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.009476, allocations: 0 / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.009546, allocations: 32.12 kB / 0.9573 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.009765, allocations: 16.08 kB / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.01099, allocations: 1.493 MB / 0.9587 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.653e-05/0.01105, allocations: 77.64 kB / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.01108, allocations: 4 kB / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.01113, allocations: 24.48 kB / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of SimCode: time 2.8e-07/0.01113, allocations: 0 / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.03028, allocations: 3.404 MB / 0.9622 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/6.733, allocations: 8.344 kB / 0.9622 GB, free: 7.254 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.712851232849061]