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.0009288/0.0009287, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009437/0.0009438, allocations: 177.3 kB / 15.94 MB, free: 228 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.318/1.318, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003155, allocations: 8 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5898, allocations: 153.7 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001892/0.5917, allocations: 1.551 MB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00346/0.5952, allocations: 3.036 MB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.5954, allocations: 4 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.5956, allocations: 47.78 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.596, allocations: 127.5 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.812e-05/0.596, allocations: 15.97 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.5962, allocations: 123.7 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.5963, allocations: 21.67 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.5965, allocations: 67.75 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.5966, allocations: 71.69 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.5967, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.5967, allocations: 23.97 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.5968, allocations: 31.84 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.5969, allocations: 57.58 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.597, allocations: 111.5 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.597, allocations: 7.938 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.597, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.597, allocations: 0 / 1.026 GB, free: 11.75 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.0008415/0.5979, allocations: 0.4925 MB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.5979, allocations: 11.98 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.598, allocations: 23.72 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.5983, allocations: 237.7 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.5984, allocations: 3.953 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.5984, allocations: 8 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.5987, allocations: 149.5 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5988, allocations: 4 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.5988, allocations: 4 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.5988, allocations: 8 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.5993, allocations: 159.9 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/0.6, allocations: 456.6 kB / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.6004, allocations: 182.4 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.6004, allocations: 11.97 kB / 1.028 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.6005, allocations: 34.56 kB / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.6005, allocations: 0 / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008432/0.6013, allocations: 309.7 kB / 1.028 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.6014, allocations: 55.41 kB / 1.028 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.6016, allocations: 217 kB / 1.028 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.6016, allocations: 29.7 kB / 1.028 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.6017, allocations: 127.9 kB / 1.028 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.6017, allocations: 43.36 kB / 1.028 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.6017, allocations: 3.938 kB / 1.028 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6018, allocations: 338.8 kB / 1.029 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.6021, allocations: 83.94 kB / 1.029 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.6023, allocations: 79.94 kB / 1.029 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.6026, allocations: 91.94 kB / 1.029 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6026, allocations: 0 / 1.029 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005256/0.6031, allocations: 228.5 kB / 1.029 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.6031, allocations: 8 kB / 1.029 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.6031, allocations: 0 / 1.029 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.6031, allocations: 0 / 1.029 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.6034, allocations: 47.89 kB / 1.029 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.6034, allocations: 0 / 1.029 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.6036, allocations: 27.83 kB / 1.029 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.6036, allocations: 4 kB / 1.029 GB, free: 8.125 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.0001015/0.6037, allocations: 133.8 kB / 1.029 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.6038, allocations: 15.81 kB / 1.029 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.6038, allocations: 29.83 kB / 1.029 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6038, allocations: 0 / 1.029 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6038, allocations: 0 / 1.029 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6039, allocations: 0 / 1.029 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.6041, allocations: 269.4 kB / 1.03 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6041, allocations: 0 / 1.03 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.6044, allocations: 47.89 kB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6044, allocations: 0 / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.6044, allocations: 4 kB / 1.03 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6044, allocations: 0 / 1.03 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6044, allocations: 0 / 1.03 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.605, allocations: 339.2 kB / 1.03 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/0.6051, allocations: 100.9 kB / 1.03 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.6051, allocations: 4 kB / 1.03 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.6053, allocations: 23.97 kB / 1.03 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.6054, allocations: 11.98 kB / 1.03 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.6054, allocations: 4 kB / 1.03 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001234/0.6055, allocations: 156.5 kB / 1.03 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.523e-06/0.6056, allocations: 3.938 kB / 1.03 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002897/0.6058, allocations: 47.78 kB / 1.03 GB, free: 6.871 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.0001452/0.606, allocations: 111.2 kB / 1.031 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005149/0.6065, allocations: 183.9 kB / 1.031 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6065, allocations: 0 / 1.031 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.6068, allocations: 103.9 kB / 1.031 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.6071, allocations: 36.88 kB / 1.031 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000731/0.6078, allocations: 495.8 kB / 1.031 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.6081, allocations: 0.7392 MB / 1.032 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.6083, allocations: 52.58 kB / 1.032 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.6083, allocations: 15.44 kB / 1.032 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6083, allocations: 0 / 1.032 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.004077/0.6124, allocations: 1.595 MB / 1.034 GB, free: 3.516 MB / 0.7794 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","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches