Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001106/0.001106, allocations: 115.5 kB / 16.41 MB, free: 6.395 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.001101/0.001101, allocations: 186.5 kB / 17.34 MB, free: 5.836 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 55.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6939/0.6955, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003013/0.6986, allocations: 1.919 MB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003879/0.7025, allocations: 3.451 MB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.7026, allocations: 4 kB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.7028, allocations: 52.61 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.7033, allocations: 134.8 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 7.721e-05/0.7034, allocations: 23.97 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.7037, allocations: 179.2 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.7038, allocations: 33.67 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.704, allocations: 83.62 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.7041, allocations: 83.62 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.7042, allocations: 8 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.114e-05/0.7043, allocations: 31.91 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.7043, allocations: 39.84 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.345e-05/0.7044, allocations: 79.53 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.7047, allocations: 175.1 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.7047, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7047, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.7047, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 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.0008675/0.7056, allocations: 0.5139 MB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.7056, allocations: 8.922 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.7057, allocations: 16.84 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.706, allocations: 247 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.706, allocations: 4.375 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.7061, allocations: 8.359 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.7064, allocations: 153.6 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.7064, allocations: 0 / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.7065, allocations: 3.984 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.7065, allocations: 8 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.7069, allocations: 143.9 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00067/0.7076, allocations: 460.4 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.708, allocations: 171.8 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.7083, allocations: 108.8 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.7084, allocations: 0 / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.7084, allocations: 34.56 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.7084, allocations: 0 / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0008509/0.7093, allocations: 295.1 kB / 1.176 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.7093, allocations: 55.34 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.7095, allocations: 217 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.7095, allocations: 33.7 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.7096, allocations: 120.1 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.7097, allocations: 47.58 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.7097, allocations: 33.7 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.7098, allocations: 330.8 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.7101, allocations: 75.92 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.7103, allocations: 75.94 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.7107, allocations: 165.9 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7107, allocations: 0 / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000518/0.7113, allocations: 226.6 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.7113, allocations: 6.188 kB / 1.177 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.7113, allocations: 3.938 kB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.7113, allocations: 4 kB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.7116, allocations: 31.97 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.7116, allocations: 4 kB / 1.177 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.7117, allocations: 15.98 kB / 1.177 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.7118, allocations: 7.984 kB / 1.177 GB, free: 9.758 MB / 0.9044 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.0001017/0.7119, allocations: 125.8 kB / 1.177 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.7119, allocations: 19.86 kB / 1.177 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.712, allocations: 25.83 kB / 1.177 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.712, allocations: 0 / 1.177 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.712, allocations: 4 kB / 1.177 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.757e-05/0.7121, allocations: 124.8 kB / 1.177 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.7121, allocations: 3.938 kB / 1.177 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.7123, allocations: 15.98 kB / 1.177 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.7124, allocations: 7.984 kB / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006951/0.7131, allocations: 304.8 kB / 1.178 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005772/0.7137, allocations: 387.2 kB / 1.178 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002303/0.7139, allocations: 97.11 kB / 1.178 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001217/0.7141, allocations: 156.4 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of Backend: time 4.11e-07/0.7141, allocations: 0 / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000612/0.7147, allocations: 183.4 kB / 1.178 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007841/0.7155, allocations: 0.8207 MB / 1.179 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of Templates: time 0.005342/0.7208, allocations: 2.472 MB / 1.182 GB, free: 4.957 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches