Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009081/0.009081, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001954/0.001954, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.772/2.772, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 56.14 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2992, allocations: 157.4 MB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003082/0.3024, allocations: 1.915 MB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004442/0.3068, allocations: 3.459 MB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.307, allocations: 0 / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.3073, allocations: 55.61 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004651/0.3078, allocations: 127.3 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.977e-05/0.3079, allocations: 31.91 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.3081, allocations: 171.2 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3083, allocations: 37.66 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.3085, allocations: 87.56 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.3086, allocations: 79.67 kB / 1.214 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.3087, allocations: 12 kB / 1.214 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.3088, allocations: 27.92 kB / 1.214 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.3089, allocations: 35.84 kB / 1.214 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.309, allocations: 75.53 kB / 1.214 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.3092, allocations: 175.2 kB / 1.214 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3092, allocations: 4 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3092, allocations: 0 / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3092, allocations: 0 / 1.214 GB, free: 3.262 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009034/0.3101, allocations: 0.51 MB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.3102, allocations: 8.625 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.3102, allocations: 20.75 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.3106, allocations: 254.8 kB / 1.215 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.3106, allocations: 4.375 kB / 1.215 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3106, allocations: 4.375 kB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.311, allocations: 137.7 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.311, allocations: 0 / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.311, allocations: 4 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.3111, allocations: 8 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.3115, allocations: 151.8 kB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/0.3122, allocations: 452.5 kB / 1.215 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.3126, allocations: 174.5 kB / 1.216 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.3129, allocations: 104.8 kB / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.3129, allocations: 0 / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.313, allocations: 42.56 kB / 1.216 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.313, allocations: 0 / 1.216 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0008267/0.3138, allocations: 293.7 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.3139, allocations: 59.34 kB / 1.216 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.3141, allocations: 217 kB / 1.216 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3141, allocations: 25.7 kB / 1.216 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.3142, allocations: 128 kB / 1.216 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.3142, allocations: 39.44 kB / 1.216 GB, free: 480 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.3143, allocations: 33.7 kB / 1.216 GB, free: 440 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3144, allocations: 334.8 kB / 1.217 GB, free: 96 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.3147, allocations: 75.94 kB / 1.217 GB, free: 20 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.3149, allocations: 75.88 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.3154, allocations: 169.4 kB / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3154, allocations: 0 / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005341/0.3159, allocations: 222.5 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.316, allocations: 4 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.316, allocations: 0 / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.316, allocations: 4 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.3163, allocations: 31.97 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3163, allocations: 0 / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.3164, allocations: 15.97 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.3165, allocations: 4 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001084/0.3166, allocations: 137.7 kB / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.3166, allocations: 27.7 kB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.3167, allocations: 25.84 kB / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3167, allocations: 0 / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3167, allocations: 0 / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3167, allocations: 3.984 kB / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.317, allocations: 257.5 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.317, allocations: 0 / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.3173, allocations: 35.97 kB / 1.218 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3173, allocations: 4 kB / 1.218 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.3173, allocations: 7.984 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3173, allocations: 4 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3173, allocations: 0 / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.3179, allocations: 324.6 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.318, allocations: 108.9 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.318, allocations: 4 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3182, allocations: 15.98 kB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.3183, allocations: 7.984 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3183, allocations: 11.98 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000132/0.3184, allocations: 152.5 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3185, allocations: 0 / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000284/0.3187, allocations: 43.88 kB / 1.218 GB, free: 14.26 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001482/0.3189, allocations: 111.2 kB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005298/0.3194, allocations: 183.7 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3194, allocations: 3.938 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.3197, allocations: 95.88 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.3201, allocations: 32.86 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007583/0.3209, allocations: 422.7 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.3212, allocations: 0.7236 MB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.3213, allocations: 48.59 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.3214, allocations: 23.42 kB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3214, allocations: 4 kB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.004708/0.3261, allocations: 1.848 MB / 1.222 GB, free: 10.74 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches