Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.001395/0.001395, allocations: 110.8 kB / 16.46 MB, free: 6.504 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.001318/0.001318, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.789/2.789, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 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.Nicol2001HeatingEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 63.89 kB / 1.104 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8274, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002998/0.8304, allocations: 1.48 MB / 1.27 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.8318, allocations: 0.7339 MB / 1.271 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.8319, allocations: 0 / 1.271 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.8319, allocations: 3.938 kB / 1.271 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.76e-05/0.832, allocations: 15.84 kB / 1.271 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.8326, allocations: 127.6 kB / 1.271 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.8327, allocations: 79.66 kB / 1.271 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.8328, allocations: 15.94 kB / 1.271 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.8329, allocations: 35.91 kB / 1.271 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.833, allocations: 35.84 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.833, allocations: 8 kB / 1.271 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.8332, allocations: 103.8 kB / 1.271 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.8332, allocations: 19.97 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.8333, allocations: 35.8 kB / 1.271 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.8335, allocations: 141.4 kB / 1.271 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8335, allocations: 0 / 1.271 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8335, allocations: 4 kB / 1.271 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.8335, allocations: 4 kB / 1.271 GB, free: 2.336 MB / 0.9669 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.000672/0.8342, allocations: 412.7 kB / 1.272 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.8342, allocations: 12.03 kB / 1.272 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.8343, allocations: 38.73 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.8343, allocations: 12.89 kB / 1.272 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.8345, allocations: 176.3 kB / 1.272 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.8345, allocations: 4.375 kB / 1.272 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.8345, allocations: 12.38 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.8347, allocations: 65.78 kB / 1.272 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.8347, allocations: 0 / 1.272 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.8347, allocations: 3.984 kB / 1.272 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.8347, allocations: 4 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.8348, allocations: 31.98 kB / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.8355, allocations: 324.6 kB / 1.273 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.8356, allocations: 42.56 kB / 1.273 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.843e-05/0.8357, allocations: 28.97 kB / 1.273 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.8357, allocations: 7.938 kB / 1.273 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.8359, allocations: 75.38 kB / 1.273 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.8359, allocations: 0 / 1.273 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003954/0.8363, allocations: 149.6 kB / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.8363, allocations: 55.39 kB / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.8365, allocations: 125.7 kB / 1.273 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.8365, allocations: 29.7 kB / 1.273 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.8365, allocations: 92.12 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.8366, allocations: 19.91 kB / 1.273 GB, free: 440 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.8366, allocations: 25.7 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.8368, allocations: 318.8 kB / 1.273 GB, free: 80 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.8368, allocations: 31.97 kB / 1.273 GB, free: 48 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.837, allocations: 42.56 kB / 1.274 GB, free: 16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.8371, allocations: 78.48 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8371, allocations: 3.938 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002425/0.8374, allocations: 117.5 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.8374, allocations: 4 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8374, allocations: 4 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8374, allocations: 0 / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.8375, allocations: 8.062 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.8375, allocations: 11.92 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.8376, allocations: 7.938 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.8376, allocations: 4 kB / 1.274 GB, free: 15.75 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 0.0001029/0.8377, allocations: 125.8 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.8377, allocations: 7.953 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.8377, allocations: 16.3 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8377, allocations: 0 / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8377, allocations: 4 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8377, allocations: 0 / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.8382, allocations: 386.4 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8382, allocations: 0 / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.8383, allocations: 4 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8383, allocations: 0 / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.8383, allocations: 7.984 kB / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.8383, allocations: 7.938 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8383, allocations: 0 / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.8386, allocations: 203.5 kB / 1.274 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.8386, allocations: 85.06 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.8387, allocations: 7.922 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.8387, allocations: 7.938 kB / 1.275 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.8388, allocations: 7.984 kB / 1.275 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.8388, allocations: 0 / 1.275 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.216e-05/0.8388, allocations: 99.92 kB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8388, allocations: 0 / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002994/0.8391, allocations: 43.88 kB / 1.275 GB, free: 14.64 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.0008765/0.84, allocations: 0.7992 MB / 1.276 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.8402, allocations: 71.88 kB / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8403, allocations: 3.938 kB / 1.276 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.8403, allocations: 35.92 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.8406, allocations: 16.98 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.8423, allocations: 1.491 MB / 1.277 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.8426, allocations: 0.6884 MB / 1.278 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.908e-05/0.8427, allocations: 11.98 kB / 1.278 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.8427, allocations: 19.38 kB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.8427, allocations: 3.938 kB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1606/1.003, allocations: 2.684 MB / 1.28 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/9.175, allocations: 13.55 kB / 1.28 GB, free: 8.836 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.215836757794023]