Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001438/0.001438, allocations: 107.9 kB / 17.54 MB, free: 4.648 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.001452/0.001452, allocations: 193.9 kB / 20.71 MB, free: 1.488 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.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.513/2.513, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 67.89 kB / 1.107 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8315/0.8332, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002205/0.8355, allocations: 1.503 MB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.8365, allocations: 0.7513 MB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.8366, allocations: 0.6562 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.8366, allocations: 4.734 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.8366, allocations: 14.58 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.8371, allocations: 117.9 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.8372, allocations: 73.59 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.045e-05/0.8373, allocations: 9.656 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.613e-05/0.8374, allocations: 42.73 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.8374, allocations: 42.44 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.8375, allocations: 10.84 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.8376, allocations: 96.5 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.8377, allocations: 14.52 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.8377, allocations: 43.12 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.8379, allocations: 142.1 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8379, allocations: 0.8125 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8379, allocations: 0 / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.8379, allocations: 0.75 kB / 1.274 GB, free: 5.926 MB / 0.9981 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.0004955/0.8384, allocations: 422.3 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.8385, allocations: 9.594 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.483e-05/0.8385, allocations: 35.78 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.8385, allocations: 8.797 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.286e-05/0.8386, allocations: 169.7 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.8386, allocations: 3.375 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.8386, allocations: 12.25 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.8388, allocations: 70.28 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.8388, allocations: 0 / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.8388, allocations: 0.9062 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8388, allocations: 4.938 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.8389, allocations: 39.05 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.8394, allocations: 319 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.8395, allocations: 48.38 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.8396, allocations: 39.22 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.8396, allocations: 4.875 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.8397, allocations: 76.53 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.8397, allocations: 0.9688 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003523/0.8401, allocations: 139.6 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.8401, allocations: 57.78 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.8402, allocations: 123.7 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.8402, allocations: 30.52 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.8402, allocations: 89.62 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.8402, allocations: 14.31 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.8403, allocations: 25.42 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.8e-05/0.8403, allocations: 323.5 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.8404, allocations: 32.58 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.227e-05/0.8405, allocations: 46.61 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.8406, allocations: 71.47 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8406, allocations: 0 / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002156/0.8408, allocations: 125.8 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.8408, allocations: 5 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.8408, allocations: 0.8438 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.8409, allocations: 1.5 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.8409, allocations: 12.98 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.841, allocations: 1.781 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.841, allocations: 7.5 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.841, allocations: 4.438 kB / 1.276 GB, free: 3.898 MB / 0.9981 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 6.829e-05/0.8411, allocations: 134.7 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.8411, allocations: 6.828 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.8411, allocations: 11.25 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.8411, allocations: 1.453 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8411, allocations: 0.9375 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8411, allocations: 1.453 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.8415, allocations: 382.4 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8415, allocations: 4 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.8415, allocations: 7.031 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8415, allocations: 0.75 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.8415, allocations: 1.531 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.8415, allocations: 3.938 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8415, allocations: 0.7812 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.8418, allocations: 211.4 kB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.8418, allocations: 87.56 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.8418, allocations: 0.8438 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.8419, allocations: 9.891 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.8419, allocations: 4.281 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.8419, allocations: 16.47 kB / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.842, allocations: 90.33 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.842, allocations: 3.938 kB / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002789/0.8422, allocations: 42.58 kB / 1.277 GB, free: 3.027 MB / 0.9981 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.0005902/0.8428, allocations: 0.7953 MB / 1.278 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.8431, allocations: 75.36 kB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8431, allocations: 3.938 kB / 1.278 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/0.8431, allocations: 28.56 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.8434, allocations: 20.88 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.8447, allocations: 1.502 MB / 1.28 GB, free: 16.96 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.845, allocations: 0.6908 MB / 1.28 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.845, allocations: 4.422 kB / 1.28 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.845, allocations: 30.27 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.845, allocations: 1.031 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.8696, allocations: 2.647 MB / 1.283 GB, free: 15.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.896, allocations: 8.047 kB / 1.283 GB, free: 15.72 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.215844172000288]