Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 104.1 kB / 16.4 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 245.1 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437.1 MB / 0.7171 GB, free: 4.043 MB / 0.5762 GB " [Timeout remaining time 177] 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.Nicol2001HeatingUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.89 kB / 1.027 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.886/0.888, allocations: 151.6 MB / 1.175 GB, free: 17.39 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002869/0.8909, allocations: 1.473 MB / 1.176 GB, free: 16.37 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.8923, allocations: 0.7278 MB / 1.177 GB, free: 15.88 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.8924, allocations: 5.438 kB / 1.177 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.8924, allocations: 4.641 kB / 1.177 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.8925, allocations: 14.55 kB / 1.177 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.893, allocations: 120.8 kB / 1.177 GB, free: 15.8 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.8932, allocations: 77.83 kB / 1.177 GB, free: 15.76 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.8933, allocations: 10.88 kB / 1.177 GB, free: 15.76 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.604e-05/0.8934, allocations: 40 kB / 1.177 GB, free: 15.74 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.8935, allocations: 41.69 kB / 1.177 GB, free: 15.72 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.8935, allocations: 6.812 kB / 1.177 GB, free: 15.72 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.8937, allocations: 93.39 kB / 1.177 GB, free: 15.69 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.8938, allocations: 18.78 kB / 1.177 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.8938, allocations: 32.22 kB / 1.177 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.8941, allocations: 144.7 kB / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8941, allocations: 0 / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8941, allocations: 5.406 kB / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8941, allocations: 0 / 1.177 GB, free: 15.61 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.0006075/0.8947, allocations: 421.9 kB / 1.178 GB, free: 15.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.8948, allocations: 11.47 kB / 1.178 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.8948, allocations: 35.55 kB / 1.178 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.8949, allocations: 10.31 kB / 1.178 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.895, allocations: 170 kB / 1.178 GB, free: 14.94 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.895, allocations: 2.844 kB / 1.178 GB, free: 14.94 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.895, allocations: 12.55 kB / 1.178 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.8952, allocations: 76.09 kB / 1.178 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.8952, allocations: 4 kB / 1.178 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.8953, allocations: 0.7031 kB / 1.178 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.8953, allocations: 8.891 kB / 1.178 GB, free: 14.87 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.8954, allocations: 35.69 kB / 1.178 GB, free: 14.86 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.896, allocations: 319.1 kB / 1.178 GB, free: 14.56 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.8962, allocations: 50.69 kB / 1.178 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.8963, allocations: 32.17 kB / 1.179 GB, free: 14.51 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.8963, allocations: 0 / 1.179 GB, free: 14.51 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.8965, allocations: 81.23 kB / 1.179 GB, free: 14.45 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.8965, allocations: 1.625 kB / 1.179 GB, free: 14.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004269/0.897, allocations: 147.9 kB / 1.179 GB, free: 14.38 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.897, allocations: 54.48 kB / 1.179 GB, free: 14.31 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.8971, allocations: 119.4 kB / 1.179 GB, free: 14.21 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.8971, allocations: 26.7 kB / 1.179 GB, free: 14.18 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.8971, allocations: 96.61 kB / 1.179 GB, free: 14.08 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.8972, allocations: 11.89 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.8972, allocations: 32.42 kB / 1.179 GB, free: 14.05 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.8973, allocations: 324.6 kB / 1.179 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.562e-05/0.8974, allocations: 22.88 kB / 1.179 GB, free: 13.72 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.253e-05/0.8975, allocations: 51.03 kB / 1.179 GB, free: 13.69 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.8977, allocations: 80.69 kB / 1.18 GB, free: 13.64 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8977, allocations: 0 / 1.18 GB, free: 13.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002293/0.8979, allocations: 113 kB / 1.18 GB, free: 13.58 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.8979, allocations: 5.688 kB / 1.18 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8979, allocations: 1.469 kB / 1.18 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.898, allocations: 1.828 kB / 1.18 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.8981, allocations: 11.34 kB / 1.18 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.8981, allocations: 9.312 kB / 1.18 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.8982, allocations: 12.19 kB / 1.18 GB, free: 13.56 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.8982, allocations: 5.188 kB / 1.18 GB, free: 13.56 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 7.332e-05/0.8982, allocations: 122.4 kB / 1.18 GB, free: 13.44 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.8983, allocations: 8.547 kB / 1.18 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.8983, allocations: 11 kB / 1.18 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.8983, allocations: 0 / 1.18 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8983, allocations: 1.438 kB / 1.18 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.8983, allocations: 4.703 kB / 1.18 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.8987, allocations: 378.6 kB / 1.18 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8988, allocations: 0.6094 kB / 1.18 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.8988, allocations: 8.578 kB / 1.18 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.8988, allocations: 1.625 kB / 1.18 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.8988, allocations: 2.266 kB / 1.18 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8988, allocations: 3.938 kB / 1.18 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8988, allocations: 0.7031 kB / 1.18 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.8991, allocations: 208.1 kB / 1.18 GB, free: 12.92 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.8991, allocations: 82.81 kB / 1.18 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.8991, allocations: 10.12 kB / 1.18 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.8992, allocations: 8.531 kB / 1.18 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.8993, allocations: 4.438 kB / 1.181 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.8993, allocations: 3.75 kB / 1.181 GB, free: 12.81 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.8994, allocations: 100.2 kB / 1.181 GB, free: 12.73 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8994, allocations: 0 / 1.181 GB, free: 12.73 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003524/0.8997, allocations: 43.59 kB / 1.181 GB, free: 12.71 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.0006847/0.9004, allocations: 0.8096 MB / 1.181 GB, free: 12 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.9007, allocations: 73.3 kB / 1.182 GB, free: 11.98 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9007, allocations: 0 / 1.182 GB, free: 11.98 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.9008, allocations: 36.66 kB / 1.182 GB, free: 11.97 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.9011, allocations: 13.34 kB / 1.182 GB, free: 11.96 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.9024, allocations: 1.5 MB / 1.183 GB, free: 10.63 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.9025, allocations: 0.6869 MB / 1.184 GB, free: 9.938 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.9026, allocations: 9.172 kB / 1.184 GB, free: 9.934 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.9026, allocations: 21.08 kB / 1.184 GB, free: 9.918 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.9026, allocations: 0 / 1.184 GB, free: 9.918 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.9274, allocations: 2.666 MB / 1.186 GB, free: 9.43 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/9.146, allocations: 9.328 kB / 1.186 GB, free: 9.422 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.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: 15.15560487122275]