Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008368/0.0008368, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008284/0.0008285, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.6/2.6, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 19.97 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7029, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.00186/0.7048, allocations: 1.179 MB / 0.9823 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.7061, allocations: 0.6783 MB / 0.9829 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.7062, allocations: 4 kB / 0.9829 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.7063, allocations: 0 / 0.9829 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.7063, allocations: 7.875 kB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.7069, allocations: 107.7 kB / 0.9831 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.7071, allocations: 67.75 kB / 0.9831 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.7072, allocations: 11.98 kB / 0.9831 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.7072, allocations: 31.91 kB / 0.9832 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.7073, allocations: 35.89 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.7074, allocations: 4 kB / 0.9832 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.7075, allocations: 87.84 kB / 0.9833 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.7076, allocations: 11.98 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.7076, allocations: 37.64 kB / 0.9833 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.7078, allocations: 98.06 kB / 0.9834 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7078, allocations: 0 / 0.9834 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7078, allocations: 0 / 0.9834 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7079, allocations: 4 kB / 0.9834 GB, free: 3.871 MB / 0.7325 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.0006347/0.7085, allocations: 412.8 kB / 0.9838 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7085, allocations: 8.031 kB / 0.9838 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.7086, allocations: 34.56 kB / 0.9839 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.7086, allocations: 3.906 kB / 0.9839 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.7088, allocations: 170.9 kB / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.7088, allocations: 15.92 kB / 0.984 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.7088, allocations: 4 kB / 0.9841 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.709, allocations: 73.61 kB / 0.9841 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.709, allocations: 0 / 0.9841 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.709, allocations: 4 kB / 0.9841 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.7091, allocations: 8 kB / 0.9841 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.7092, allocations: 39.97 kB / 0.9842 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005889/0.7098, allocations: 320.7 kB / 0.9845 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.7099, allocations: 58.5 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/0.71, allocations: 36.97 kB / 0.9846 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.71, allocations: 0 / 0.9846 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.7102, allocations: 75.38 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.7103, allocations: 0 / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003822/0.7106, allocations: 161.5 kB / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.7107, allocations: 51.41 kB / 0.9848 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.661e-05/0.7108, allocations: 117.8 kB / 0.985 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.7108, allocations: 29.7 kB / 0.985 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.7109, allocations: 96.38 kB / 0.9851 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.7109, allocations: 15.81 kB / 0.9851 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.7109, allocations: 0 / 0.9851 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.711, allocations: 322.8 kB / 0.9854 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-05/0.7111, allocations: 27.98 kB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.7112, allocations: 47 kB / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.91e-05/0.7113, allocations: 43.92 kB / 0.9855 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7113, allocations: 7.891 kB / 0.9855 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002391/0.7116, allocations: 113.5 kB / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7116, allocations: 4 kB / 0.9856 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.7116, allocations: 0 / 0.9856 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.7116, allocations: 4 kB / 0.9856 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.7117, allocations: 23.98 kB / 0.9857 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.7117, allocations: 0 / 0.9857 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.7118, allocations: 15.84 kB / 0.9857 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.7118, allocations: 7.984 kB / 0.9857 GB, free: 1.32 MB / 0.7325 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,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/0.7119, allocations: 113.8 kB / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.7119, allocations: 7.953 kB / 0.9858 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.712, allocations: 8.375 kB / 0.9858 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.712, allocations: 4 kB / 0.9858 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.712, allocations: 0 / 0.9858 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.712, allocations: 0 / 0.9858 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.7125, allocations: 394.3 kB / 0.9862 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7125, allocations: 0 / 0.9862 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.7125, allocations: 7.984 kB / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.7125, allocations: 4 kB / 0.9862 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.7125, allocations: 4 kB / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7125, allocations: 0 / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7126, allocations: 0 / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.7128, allocations: 219.3 kB / 0.9864 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.7129, allocations: 85.09 kB / 0.9865 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.7129, allocations: 4 kB / 0.9865 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.713, allocations: 7.984 kB / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.7131, allocations: 4 kB / 0.9865 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.7131, allocations: 4 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.83e-05/0.7131, allocations: 95.42 kB / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7132, allocations: 0 / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003104/0.7135, allocations: 43.92 kB / 0.9866 GB, free: 236 kB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008165/0.7143, allocations: 0.8227 MB / 0.9874 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.7145, allocations: 75.95 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.7145, allocations: 3.938 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.113e-05/0.7146, allocations: 31.98 kB / 0.9876 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.7149, allocations: 14.23 kB / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.7161, allocations: 0.6047 MB / 0.9882 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.7164, allocations: 0.6848 MB / 0.9888 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.7165, allocations: 12.11 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.7165, allocations: 23.44 kB / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.7165, allocations: 0 / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.7298, allocations: 2.336 MB / 0.9911 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.7301, allocations: 249.5 kB / 0.9914 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.637, allocations: 1.875 kB / 0.9914 GB, free: 11.38 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat does not exist to compare? outputFormat=mat