Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001538/0.001538, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.439/2.439, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.793, allocations: 140.3 MB / 0.9489 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003216/0.7962, allocations: 1.538 MB / 0.9504 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.7977, allocations: 0.734 MB / 0.9511 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.7978, allocations: 0 / 0.9511 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.7978, allocations: 7.922 kB / 0.9511 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.7979, allocations: 9.297 kB / 0.9511 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.7985, allocations: 106.2 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.7986, allocations: 74.31 kB / 0.9513 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.7987, allocations: 21.44 kB / 0.9513 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.7989, allocations: 29.38 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.82e-05/0.799, allocations: 39.45 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.799, allocations: 3.562 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.7992, allocations: 90.7 kB / 0.9515 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.7992, allocations: 15.12 kB / 0.9515 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.7993, allocations: 35.25 kB / 0.9515 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.7995, allocations: 135.7 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.7996, allocations: 0 / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7996, allocations: 1.5 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.7996, allocations: 4 kB / 0.9517 GB, free: 7.039 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.0005619/0.8001, allocations: 419.1 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.8002, allocations: 10.16 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.8002, allocations: 4.719 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.72e-05/0.8003, allocations: 180.1 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.8003, allocations: 2.781 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.8004, allocations: 3.875 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.8006, allocations: 76.5 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.8006, allocations: 0 / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.8006, allocations: 0 / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.8006, allocations: 1.188 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.8007, allocations: 37.69 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.8013, allocations: 328.8 kB / 0.9527 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.8014, allocations: 49.27 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.8015, allocations: 30.84 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.8015, allocations: 1.781 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.8018, allocations: 76.5 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.8018, allocations: 5.125 kB / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004102/0.8022, allocations: 140.1 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.8023, allocations: 57.69 kB / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.8023, allocations: 124.5 kB / 0.9532 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.8024, allocations: 30.8 kB / 0.9532 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.8024, allocations: 86.42 kB / 0.9533 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.8024, allocations: 14.44 kB / 0.9533 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.8025, allocations: 38.23 kB / 0.9533 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.8026, allocations: 321.8 kB / 0.9536 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.227e-05/0.8027, allocations: 25.77 kB / 0.9536 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.634e-05/0.8027, allocations: 48.58 kB / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.8029, allocations: 73.03 kB / 0.9538 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8029, allocations: 1.594 kB / 0.9538 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002525/0.8032, allocations: 112.5 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.8032, allocations: 4.812 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.8032, allocations: 1.594 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.8032, allocations: 1.594 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.8033, allocations: 11.73 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.8033, allocations: 5.094 kB / 0.9539 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.047e-05/0.8034, allocations: 11.56 kB / 0.9539 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.8034, allocations: 15.52 kB / 0.9539 GB, free: 4.891 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 8.849e-05/0.8035, allocations: 122.5 kB / 0.954 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.8036, allocations: 7.438 kB / 0.954 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.8036, allocations: 9.625 kB / 0.9541 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.8036, allocations: 1.25 kB / 0.9541 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.8036, allocations: 0 / 0.9541 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8036, allocations: 5.219 kB / 0.9541 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.8041, allocations: 382.5 kB / 0.9544 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.8041, allocations: 0 / 0.9544 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.8041, allocations: 7.391 kB / 0.9544 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8041, allocations: 0.9062 kB / 0.9544 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.8041, allocations: 1.062 kB / 0.9544 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8041, allocations: 1.031 kB / 0.9544 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8042, allocations: 3.938 kB / 0.9544 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.8044, allocations: 213.5 kB / 0.9546 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.8045, allocations: 83.86 kB / 0.9547 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.8045, allocations: 3.938 kB / 0.9547 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.8046, allocations: 6.797 kB / 0.9547 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.8046, allocations: 18.48 kB / 0.9547 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.8047, allocations: 3.156 kB / 0.9548 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.8047, allocations: 96.14 kB / 0.9548 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8047, allocations: 0 / 0.9548 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003245/0.805, allocations: 44.95 kB / 0.9549 GB, free: 3.973 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.0003821/0.8054, allocations: 152.7 kB / 0.955 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.8057, allocations: 81.12 kB / 0.9551 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8057, allocations: 0 / 0.9551 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.8058, allocations: 32.02 kB / 0.9551 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.8061, allocations: 10.19 kB / 0.9551 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.8066, allocations: 200.1 kB / 0.9553 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.8068, allocations: 0.6874 MB / 0.956 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.61e-05/0.8069, allocations: 8.297 kB / 0.956 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.8069, allocations: 10.44 kB / 0.956 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8069, allocations: 0 / 0.956 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.004827/0.8117, allocations: 1.373 MB / 0.9574 GB, free: 2.203 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time