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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001069/0.001069, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001333/0.001333, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.709/2.709, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 13.47 kB / 0.9021 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2608, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002024/0.2629, allocations: 1.584 MB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003593/0.2665, allocations: 3.235 MB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.2666, allocations: 4 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.2668, allocations: 39.75 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.2672, allocations: 115.4 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.883e-05/0.2672, allocations: 23.91 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.2675, allocations: 167.2 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.2676, allocations: 25.67 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.2678, allocations: 75.77 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.2679, allocations: 75.69 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.268, allocations: 4 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.268, allocations: 27.83 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.2681, allocations: 35.84 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.2682, allocations: 49.64 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.2683, allocations: 111.7 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2683, allocations: 0 / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2683, allocations: 0 / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2683, allocations: 0 / 1.063 GB, free: 15.68 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.0008161/0.2692, allocations: 0.5022 MB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2692, allocations: 8.031 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.2693, allocations: 19.72 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.2696, allocations: 241.7 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2696, allocations: 4 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.2697, allocations: 8 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.27, allocations: 145.5 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.27, allocations: 0 / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2701, allocations: 7.938 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.2701, allocations: 11.98 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.2706, allocations: 159.9 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.2713, allocations: 464.5 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.2717, allocations: 178.4 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.272, allocations: 116.8 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.272, allocations: 0 / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.272, allocations: 34.56 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.272, allocations: 0 / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008433/0.2729, allocations: 321.6 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2729, allocations: 51.41 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.2731, allocations: 213 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.2732, allocations: 25.7 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.2733, allocations: 128 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.2733, allocations: 47.3 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.2733, allocations: 8 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2734, allocations: 330.8 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.2737, allocations: 79.94 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.2739, allocations: 87.92 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.2742, allocations: 82.95 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2742, allocations: 4 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005368/0.2747, allocations: 233.4 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2747, allocations: 4 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2748, allocations: 4 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2748, allocations: 3.984 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.2751, allocations: 39.91 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2751, allocations: 4 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.2752, allocations: 23.89 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.2753, allocations: 11.94 kB / 1.067 GB, free: 11.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.2754, allocations: 129.8 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.2754, allocations: 15.81 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.268e-05/0.2755, allocations: 25.83 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2755, allocations: 4 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2755, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2755, allocations: 3.938 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.2758, allocations: 273.3 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2758, allocations: 3.984 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.2761, allocations: 43.91 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2761, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2761, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2761, allocations: 4 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2761, allocations: 3.984 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.2767, allocations: 335.2 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-05/0.2768, allocations: 112.8 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.2769, allocations: 3.984 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.2771, allocations: 19.98 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.2771, allocations: 7.984 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2771, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001362/0.2773, allocations: 164.5 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2773, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002839/0.2776, allocations: 36 kB / 1.068 GB, free: 10.66 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001461/0.2777, allocations: 107.2 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005261/0.2783, allocations: 189.7 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2783, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.2785, allocations: 107.9 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.2789, allocations: 29.48 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.2797, allocations: 0.4899 MB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.28, allocations: 0.7316 MB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00019/0.2802, allocations: 48.59 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.2802, allocations: 23.42 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2802, allocations: 0 / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of Templates: time 0.004175/0.2844, allocations: 1.593 MB / 1.071 GB, free: 7.316 MB / 0.8262 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