Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_9_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.001287/0.001287, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.596, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001971/0.598, allocations: 1.469 MB / 0.9512 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009028/0.5989, allocations: 0.7285 MB / 0.9519 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.599, allocations: 1.375 kB / 0.9519 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.599, allocations: 3.938 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.038e-05/0.599, allocations: 17.16 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.5995, allocations: 131 kB / 0.952 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.5996, allocations: 74.41 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.5997, allocations: 14.52 kB / 0.9521 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.5997, allocations: 38.02 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.5998, allocations: 35.72 kB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.5998, allocations: 5.969 kB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.6, allocations: 98.06 kB / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.6, allocations: 14.95 kB / 0.9523 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.6, allocations: 43.09 kB / 0.9523 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.6002, allocations: 133.2 kB / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6002, allocations: 0 / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6002, allocations: 0 / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.6002, allocations: 5.125 kB / 0.9525 GB, free: 7.051 MB / 0.7169 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.0004489/0.6007, allocations: 424.2 kB / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.6007, allocations: 8.5 kB / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.563e-05/0.6008, allocations: 36.19 kB / 0.9529 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.6008, allocations: 8.906 kB / 0.9529 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.509e-05/0.6009, allocations: 176.4 kB / 0.9531 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.6009, allocations: 2.688 kB / 0.9531 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.6009, allocations: 4 kB / 0.9531 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.6011, allocations: 75.72 kB / 0.9532 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.6011, allocations: 0 / 0.9532 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.6011, allocations: 1.375 kB / 0.9532 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.6011, allocations: 1.219 kB / 0.9532 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.6012, allocations: 36.12 kB / 0.9532 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.6017, allocations: 330.3 kB / 0.9535 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.6018, allocations: 47.7 kB / 0.9536 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.968e-05/0.6018, allocations: 32.06 kB / 0.9536 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.6019, allocations: 9.109 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.602, allocations: 84.72 kB / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.602, allocations: 0 / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003247/0.6024, allocations: 137.5 kB / 0.9538 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.6024, allocations: 52.62 kB / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.068e-05/0.6025, allocations: 128.7 kB / 0.954 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.6025, allocations: 27.17 kB / 0.954 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.6025, allocations: 91.45 kB / 0.9541 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.6025, allocations: 14.03 kB / 0.9541 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.6026, allocations: 30.33 kB / 0.9541 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.547e-05/0.6026, allocations: 323.9 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.6027, allocations: 23.52 kB / 0.9545 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/0.6028, allocations: 56.05 kB / 0.9545 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.6029, allocations: 74.14 kB / 0.9546 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6029, allocations: 0 / 0.9546 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001961/0.6031, allocations: 113.1 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.6031, allocations: 10.09 kB / 0.9547 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.6031, allocations: 0.875 kB / 0.9547 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.6032, allocations: 0.9375 kB / 0.9547 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.6032, allocations: 16.11 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6032, allocations: 1.656 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.6033, allocations: 12.5 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.6033, allocations: 7.234 kB / 0.9547 GB, free: 4.852 MB / 0.7169 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 5.5e-05/0.6034, allocations: 121.8 kB / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.6034, allocations: 10.12 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.6034, allocations: 10.75 kB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.6034, allocations: 1.625 kB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.6034, allocations: 0 / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.6035, allocations: 0 / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.6038, allocations: 382.3 kB / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6038, allocations: 1.219 kB / 0.9552 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.6038, allocations: 7.609 kB / 0.9553 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6038, allocations: 4 kB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.6039, allocations: 1.188 kB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6039, allocations: 9.125 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6039, allocations: 3.938 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.6041, allocations: 213 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.6041, allocations: 83.45 kB / 0.9556 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.6041, allocations: 1.188 kB / 0.9556 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.6042, allocations: 14.17 kB / 0.9556 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.6043, allocations: 6.656 kB / 0.9556 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.6043, allocations: 2.188 kB / 0.9556 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.919e-05/0.6043, allocations: 92.52 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6043, allocations: 0 / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002654/0.6046, allocations: 44.86 kB / 0.9557 GB, free: 3.938 MB / 0.7169 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.0005106/0.6051, allocations: 0.7943 MB / 0.9565 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.6053, allocations: 74.44 kB / 0.9566 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6053, allocations: 128 / 0.9566 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.208e-05/0.6054, allocations: 40.39 kB / 0.9566 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.6056, allocations: 22.19 kB / 0.9566 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.6067, allocations: 1.49 MB / 0.9581 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.425e-05/0.6068, allocations: 0.6893 MB / 0.9587 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.6069, allocations: 3.344 kB / 0.9587 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.6069, allocations: 22.11 kB / 0.9588 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6069, allocations: 4 kB / 0.9588 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.432/3.039, allocations: 2.592 MB / 0.9613 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.253/12.29, allocations: 23.09 kB / 0.9613 GB, free: 15.67 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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