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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.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_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.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.001432/0.001432, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001426/0.001426, allocations: 194.2 kB / 16.14 MB, free: 6.719 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.695/2.695, allocations: 472.6 MB / 0.7447 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 65.86 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3738, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003483/0.3773, allocations: 1.941 MB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.3819, allocations: 3.572 MB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.382, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008311/0.3829, allocations: 175.6 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.3831, allocations: 71.59 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.59e-05/0.3832, allocations: 19.97 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00051/0.3837, allocations: 287 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3839, allocations: 37.48 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.384, allocations: 67.7 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.3842, allocations: 79.67 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.3842, allocations: 8 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.379e-05/0.3843, allocations: 27.92 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.3844, allocations: 59.73 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.384e-05/0.3845, allocations: 79.48 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.3848, allocations: 175.3 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3848, allocations: 4 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3848, allocations: 3.938 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3848, allocations: 4 kB / 1.074 GB, free: 4.172 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.0009651/0.3858, allocations: 0.5216 MB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3858, allocations: 8.031 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.3859, allocations: 20.66 kB / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.3863, allocations: 251.6 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.3863, allocations: 8.359 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.3863, allocations: 4.375 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.3867, allocations: 141.7 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3867, allocations: 0 / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3868, allocations: 4 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.3868, allocations: 15.92 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.3873, allocations: 147.8 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.3881, allocations: 456.4 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.3885, allocations: 182.5 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.3888, allocations: 108.7 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3889, allocations: 0 / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3889, allocations: 34.56 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3889, allocations: 4 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008595/0.3898, allocations: 289.5 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.3898, allocations: 51.41 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.39, allocations: 246.7 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3901, allocations: 29.7 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.3902, allocations: 140 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.3902, allocations: 47.28 kB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.3903, allocations: 33.7 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3904, allocations: 334.8 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.3907, allocations: 80.12 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.3909, allocations: 79.92 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.3914, allocations: 160.1 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3914, allocations: 8 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005349/0.3919, allocations: 209.4 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3919, allocations: 8 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3919, allocations: 0 / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.392, allocations: 0 / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.3923, allocations: 43.89 kB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3923, allocations: 0 / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.3924, allocations: 19.89 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.3925, allocations: 4 kB / 1.078 GB, free: 332 kB / 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.0001403/0.3926, allocations: 137.8 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.3927, allocations: 23.72 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.3927, allocations: 33.83 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3927, allocations: 0 / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3928, allocations: 4 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3928, allocations: 4 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.3931, allocations: 269.4 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.3931, allocations: 4 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.3934, allocations: 39.89 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3934, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3934, allocations: 4 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3934, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3934, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.394, allocations: 323.1 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3941, allocations: 116.7 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.3942, allocations: 4 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3944, allocations: 15.98 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.3944, allocations: 11.98 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3945, allocations: 7.984 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001585/0.3946, allocations: 178 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3946, allocations: 3.938 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002906/0.3949, allocations: 39.94 kB / 1.079 GB, free: 15.04 MB / 0.8419 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.0001581/0.3951, allocations: 111.2 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005323/0.3956, allocations: 171.9 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3956, allocations: 0 / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.3959, allocations: 99.48 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.3964, allocations: 49.09 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/0.3973, allocations: 0.5118 MB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3977, allocations: 0.7438 MB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001927/0.3979, allocations: 57.36 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.398, allocations: 19.42 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of SimCode: time 2.134e-06/0.398, allocations: 0 / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of Templates: time 0.005684/0.4036, allocations: 2.296 MB / 1.083 GB, free: 10.97 MB / 0.8419 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