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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001032/0.001033, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001283/0.001284, allocations: 168.7 kB / 15.95 MB, free: 204 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 20 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5849/0.5852, allocations: 153.8 MB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001902/0.5872, allocations: 1.586 MB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003568/0.5907, allocations: 3.23 MB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.5908, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.591, allocations: 43.81 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.5914, allocations: 115.4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.518e-05/0.5915, allocations: 19.97 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.5917, allocations: 167.2 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.12e-05/0.5918, allocations: 21.69 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.5919, allocations: 79.62 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.5921, allocations: 75.67 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.5921, allocations: 8 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.57e-05/0.5922, allocations: 27.92 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.5923, allocations: 27.91 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.5923, allocations: 53.58 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.5925, allocations: 119.7 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5925, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5925, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.5925, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 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.0008076/0.5933, allocations: 0.4884 MB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.5933, allocations: 16.55 kB / 1.028 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.5934, allocations: 23.66 kB / 1.028 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.5937, allocations: 233.7 kB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.5938, allocations: 11.95 kB / 1.029 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.5938, allocations: 4 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.5941, allocations: 145.6 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5941, allocations: 7.984 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.5942, allocations: 0 / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.5942, allocations: 12 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.5946, allocations: 159.8 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.5953, allocations: 464.6 kB / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.5957, allocations: 178.5 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.596, allocations: 112.8 kB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.596, allocations: 3.984 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.5961, allocations: 42.5 kB / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.5961, allocations: 0 / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008081/0.5969, allocations: 317.2 kB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.5969, allocations: 51.41 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.5971, allocations: 217 kB / 1.03 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.5971, allocations: 29.7 kB / 1.03 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.5972, allocations: 124.1 kB / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.5973, allocations: 43.36 kB / 1.03 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.5973, allocations: 0 / 1.03 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5974, allocations: 330.8 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.5976, allocations: 84.17 kB / 1.031 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.5979, allocations: 87.94 kB / 1.031 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.5981, allocations: 95.88 kB / 1.031 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5981, allocations: 0 / 1.031 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000516/0.5986, allocations: 225.4 kB / 1.031 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5987, allocations: 15.88 kB / 1.031 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5987, allocations: 0 / 1.031 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.5987, allocations: 0 / 1.031 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.5989, allocations: 35.97 kB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.599, allocations: 0 / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.5991, allocations: 27.83 kB / 1.031 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.5991, allocations: 11.98 kB / 1.031 GB, free: 6.648 MB / 0.7794 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.0001084/0.5993, allocations: 129.7 kB / 1.031 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.5993, allocations: 19.8 kB / 1.031 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.5994, allocations: 25.84 kB / 1.031 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5994, allocations: 0 / 1.031 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5994, allocations: 4 kB / 1.031 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5994, allocations: 7.984 kB / 1.031 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.5997, allocations: 269.4 kB / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5997, allocations: 0 / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.5999, allocations: 35.97 kB / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6, allocations: 0 / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.6, allocations: 7.984 kB / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6, allocations: 0 / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6, allocations: 0 / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.6006, allocations: 343.1 kB / 1.032 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.6007, allocations: 112.7 kB / 1.032 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.6007, allocations: 4 kB / 1.032 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.6009, allocations: 15.98 kB / 1.032 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.601, allocations: 7.984 kB / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.601, allocations: 11.98 kB / 1.032 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001277/0.6011, allocations: 156.5 kB / 1.032 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6011, allocations: 0 / 1.032 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002768/0.6014, allocations: 36 kB / 1.032 GB, free: 5.398 MB / 0.7794 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.0001423/0.6016, allocations: 111.2 kB / 1.033 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004982/0.6021, allocations: 195.5 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6021, allocations: 0 / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.6023, allocations: 103.9 kB / 1.033 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.6027, allocations: 28.38 kB / 1.033 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007339/0.6035, allocations: 0.4897 MB / 1.033 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.6038, allocations: 0.7316 MB / 1.034 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.604, allocations: 56.58 kB / 1.034 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.604, allocations: 19.42 kB / 1.034 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.604, allocations: 0 / 1.034 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of Templates: time 0.004167/0.6082, allocations: 1.588 MB / 1.036 GB, free: 2.039 MB / 0.7794 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/jenkins/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