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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 221.2 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.8 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 66.75 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3062, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002794/0.309, allocations: 1.517 MB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3105, allocations: 0.8196 MB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.3105, allocations: 0 / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.3106, allocations: 15.86 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.868e-05/0.3106, allocations: 7.875 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.3112, allocations: 139.6 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3113, allocations: 83.7 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.3114, allocations: 12.12 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.3115, allocations: 43.89 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.3116, allocations: 35.84 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3116, allocations: 7.938 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.3119, allocations: 151.8 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.3119, allocations: 11.98 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.312, allocations: 39.78 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.3123, allocations: 151.5 kB / 1.288 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3123, allocations: 0 / 1.288 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3123, allocations: 0 / 1.288 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3123, allocations: 0 / 1.288 GB, free: 8.176 MB / 0.9825 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.0006557/0.3129, allocations: 349.3 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.313, allocations: 12.03 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.3133, allocations: 32.91 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.3135, allocations: 130.4 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3136, allocations: 12.36 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.3136, allocations: 4.375 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3138, allocations: 73.77 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3138, allocations: 3.938 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3138, allocations: 0 / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3138, allocations: 4 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.3139, allocations: 47.89 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005829/0.3145, allocations: 279.9 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.3147, allocations: 42.56 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.3147, allocations: 36.91 kB / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3148, allocations: 0 / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.3149, allocations: 83.31 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3149, allocations: 0 / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003799/0.3153, allocations: 133.7 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.3153, allocations: 63.39 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3155, allocations: 126.7 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3155, allocations: 25.7 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.3155, allocations: 96.08 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.3156, allocations: 19.84 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.3156, allocations: 29.7 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3158, allocations: 326.7 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.3159, allocations: 23.98 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.053e-05/0.3159, allocations: 46.56 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3161, allocations: 70.55 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3161, allocations: 0 / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002345/0.3163, allocations: 117.5 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3164, allocations: 8 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3164, allocations: 3.938 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3164, allocations: 0 / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.3165, allocations: 11.98 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3165, allocations: 4 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.3165, allocations: 11.94 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3165, allocations: 0 / 1.29 GB, free: 5.785 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.0001091/0.3167, allocations: 129.8 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.3167, allocations: 3.953 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.3167, allocations: 12.38 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3167, allocations: 0 / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3167, allocations: 0 / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.3167, allocations: 7.922 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.3172, allocations: 357.5 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3172, allocations: 4 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.3172, allocations: 7.984 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3172, allocations: 4 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3172, allocations: 0 / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3172, allocations: 3.938 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3172, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.3175, allocations: 207.9 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.3175, allocations: 11.88 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3175, allocations: 12 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.668e-05/0.3176, allocations: 3.938 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.3177, allocations: 7.984 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3177, allocations: 3.938 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.3177, allocations: 95.27 kB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3177, allocations: 0 / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002984/0.318, allocations: 39.92 kB / 1.291 GB, free: 4.812 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.0003643/0.3184, allocations: 165.7 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.3186, allocations: 67.84 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3186, allocations: 4 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3187, allocations: 35.91 kB / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.319, allocations: 8 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.3194, allocations: 223.2 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3197, allocations: 0.687 MB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.3198, allocations: 19.42 kB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3198, allocations: 0 / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of Templates: time 0.003766/0.3235, allocations: 1.642 MB / 1.293 GB, free: 1.922 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 400] 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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.5009269650036]