Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) 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: 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_11_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_11_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.001091/0.001091, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.007188/0.007188, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.643/1.643, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.111/3.111, allocations: 470.6 MB / 0.7441 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 15.2 kB / 0.9123 GB, free: 34.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3482, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002449/0.3507, allocations: 1.636 MB / 1.071 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004571/0.3552, allocations: 3.377 MB / 1.075 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.3553, allocations: 4 kB / 1.075 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.3555, allocations: 39.75 kB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.356, allocations: 119.4 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.189e-05/0.3561, allocations: 23.97 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.3563, allocations: 187.2 kB / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3564, allocations: 29.67 kB / 1.075 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.3566, allocations: 75.64 kB / 1.075 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3568, allocations: 75.67 kB / 1.075 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.3568, allocations: 4 kB / 1.075 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.3569, allocations: 27.91 kB / 1.075 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.357, allocations: 35.84 kB / 1.075 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.3571, allocations: 101.2 kB / 1.075 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3573, allocations: 163.2 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3573, allocations: 0 / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3573, allocations: 3.938 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.3573, allocations: 0 / 1.076 GB, free: 5.5 MB / 0.8262 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.0008736/0.3582, allocations: 494.6 kB / 1.076 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3582, allocations: 16.03 kB / 1.076 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.3583, allocations: 20.66 kB / 1.076 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.3586, allocations: 246.8 kB / 1.076 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3587, allocations: 4.359 kB / 1.076 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.3587, allocations: 4.375 kB / 1.076 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.3591, allocations: 161.6 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.3591, allocations: 0 / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3591, allocations: 12 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.3592, allocations: 8 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.3596, allocations: 155.9 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.3604, allocations: 460.5 kB / 1.077 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.3608, allocations: 183.7 kB / 1.077 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.3611, allocations: 112.8 kB / 1.077 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3612, allocations: 4 kB / 1.077 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.3612, allocations: 34.56 kB / 1.077 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.3612, allocations: 4 kB / 1.077 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008917/0.3621, allocations: 318.4 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3622, allocations: 51.41 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3624, allocations: 221 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3624, allocations: 29.7 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.3625, allocations: 124.1 kB / 1.078 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.3626, allocations: 43.34 kB / 1.078 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.3626, allocations: 17.72 kB / 1.078 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3628, allocations: 338.8 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.363, allocations: 79.94 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.3633, allocations: 79.94 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.3638, allocations: 190.7 kB / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3638, allocations: 0 / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005738/0.3644, allocations: 229.4 kB / 1.079 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3644, allocations: 5.094 kB / 1.079 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3644, allocations: 4 kB / 1.079 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.3644, allocations: 3.938 kB / 1.079 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.3647, allocations: 35.97 kB / 1.079 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.3647, allocations: 0 / 1.079 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.3648, allocations: 23.88 kB / 1.079 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.3649, allocations: 8 kB / 1.079 GB, free: 1.637 MB / 0.8262 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.0001313/0.365, allocations: 141.7 kB / 1.079 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.3651, allocations: 27.69 kB / 1.079 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.3651, allocations: 21.84 kB / 1.079 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3651, allocations: 0 / 1.079 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3651, allocations: 0 / 1.079 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3651, allocations: 7.969 kB / 1.079 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.3655, allocations: 265.4 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3655, allocations: 0 / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.3658, allocations: 43.91 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3658, allocations: 4 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3658, allocations: 3.984 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3658, allocations: 0 / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3658, allocations: 0 / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.3664, allocations: 336.2 kB / 1.08 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.3665, allocations: 112.8 kB / 1.08 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.3666, allocations: 4 kB / 1.08 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.3668, allocations: 19.98 kB / 1.08 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.3668, allocations: 11.92 kB / 1.08 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3668, allocations: 11.98 kB / 1.08 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001399/0.367, allocations: 152.5 kB / 1.08 GB, free: 404 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.367, allocations: 0 / 1.08 GB, free: 404 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002641/0.3673, allocations: 43.88 kB / 1.08 GB, free: 360 kB / 0.8262 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.0001428/0.3674, allocations: 111.2 kB / 1.08 GB, free: 240 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.368, allocations: 196.9 kB / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.368, allocations: 0 / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.3683, allocations: 96.02 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3687, allocations: 36.39 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008549/0.3695, allocations: 0.5077 MB / 1.081 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.3699, allocations: 0.7316 MB / 1.082 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.3701, allocations: 48.59 kB / 1.082 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.3702, allocations: 19.42 kB / 1.082 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3702, allocations: 0 / 1.082 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.00488/0.3751, allocations: 1.649 MB / 1.084 GB, free: 12.93 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches