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.001753/0.001753, 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.002665/0.002665, allocations: 214.9 kB / 22.25 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.988 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.809/2.809, allocations: 476.7 MB / 0.7707 GB, free: 4.223 MB / 0.6231 GB " [Timeout remaining time 177] 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.002042/0.002042, allocations: 68.34 kB / 1.117 GB, free: 39.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3423, allocations: 169.9 MB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002619/0.345, allocations: 1.517 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3464, allocations: 0.8196 MB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.3465, allocations: 0 / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.3465, allocations: 7.875 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.3466, allocations: 7.875 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.3472, allocations: 147.6 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.3473, allocations: 75.72 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.3474, allocations: 12.17 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3475, allocations: 39.91 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.3476, allocations: 43.83 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3476, allocations: 11.94 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.3479, allocations: 147.8 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.3479, allocations: 11.98 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.3479, allocations: 31.8 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.3482, allocations: 159 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3482, allocations: 0 / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3482, allocations: 0 / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3482, allocations: 0 / 1.286 GB, free: 8.52 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.000635/0.3488, allocations: 355.5 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3489, allocations: 12.03 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.3489, allocations: 34.75 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/0.3492, allocations: 32.86 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3495, allocations: 126.4 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.3495, allocations: 384 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3495, allocations: 12.36 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3497, allocations: 77.53 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3497, allocations: 3.938 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.3497, allocations: 7.922 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3497, allocations: 0 / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.3498, allocations: 39.97 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.3504, allocations: 283.8 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.3505, allocations: 46.56 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.833e-05/0.3506, allocations: 32.91 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3506, allocations: 0 / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.3507, allocations: 83.36 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3507, allocations: 0 / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003621/0.3511, allocations: 141.7 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.3512, allocations: 55.39 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3513, allocations: 125.8 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.3513, allocations: 33.64 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.3513, allocations: 92.08 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.3514, allocations: 19.84 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.3514, allocations: 29.7 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3516, allocations: 330.8 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.3516, allocations: 19.98 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.933e-05/0.3517, allocations: 46.56 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.3519, allocations: 74.48 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3519, allocations: 4 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000227/0.3521, allocations: 109.5 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3521, allocations: 10.34 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3521, allocations: 0 / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3521, allocations: 0 / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.3522, allocations: 19.98 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3522, allocations: 3.938 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.3523, allocations: 12.06 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3523, allocations: 7.938 kB / 1.288 GB, free: 6.066 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 9.221e-05/0.3524, allocations: 117.8 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.3524, allocations: 11.89 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.3525, allocations: 8.375 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3525, allocations: 0 / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3525, allocations: 0 / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3525, allocations: 4 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.3529, allocations: 353.5 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3529, allocations: 0 / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.353, allocations: 8 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.353, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.353, allocations: 3.984 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.353, allocations: 7.875 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.353, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.3533, allocations: 211.4 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.3533, allocations: 15.88 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.3533, allocations: 4 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.3534, allocations: 7.938 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.3534, allocations: 3.984 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.3534, allocations: 4 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.3535, allocations: 91.27 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3535, allocations: 0 / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002741/0.3538, allocations: 43.92 kB / 1.289 GB, free: 5.109 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.0008632/0.3546, allocations: 0.8154 MB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.3549, allocations: 67.89 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3549, allocations: 0 / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.3549, allocations: 31.98 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3552, allocations: 17.98 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.357, allocations: 1.505 MB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3573, allocations: 0.6923 MB / 1.292 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.298e-05/0.3574, allocations: 4 kB / 1.292 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.3574, allocations: 27.42 kB / 1.292 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3574, allocations: 0 / 1.292 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/0.3994, allocations: 2.823 MB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 12.3 kB / 1.295 GB, free: 15.14 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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] "Error: Could not read variable hea.occ in file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv. Warning: Get data of variable hea.occ from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv failed! Error: Could not read variable hea.on in file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv. Warning: Get data of variable hea.on from file Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.527755494998928]