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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001317/0.001317, allocations: 110.1 kB / 16.41 MB, free: 6.492 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.001332/0.001332, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.515/2.515, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.91 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8749/0.8763, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003204/0.8795, allocations: 1.919 MB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003967/0.8835, allocations: 3.458 MB / 1.214 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.8837, allocations: 4 kB / 1.214 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.884, allocations: 47.67 kB / 1.214 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004818/0.8845, allocations: 135.2 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.656e-05/0.8846, allocations: 23.97 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.8848, allocations: 179.2 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.885, allocations: 29.67 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.8851, allocations: 79.69 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.8853, allocations: 87.56 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.8854, allocations: 8 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.8855, allocations: 31.97 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.8856, allocations: 43.78 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.833e-05/0.8856, allocations: 75.53 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.8859, allocations: 173.2 kB / 1.215 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.8859, allocations: 0 / 1.215 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8859, allocations: 0 / 1.215 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.8859, allocations: 3.938 kB / 1.215 GB, free: 7.379 MB / 0.9356 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.0009071/0.8869, allocations: 0.5022 MB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.8869, allocations: 12.03 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.887, allocations: 20.75 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.8873, allocations: 250.8 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.8873, allocations: 4.312 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.8873, allocations: 4.375 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.8877, allocations: 149.7 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.8877, allocations: 0 / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.8877, allocations: 4 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.8878, allocations: 11.94 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.8882, allocations: 143.9 kB / 1.216 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.8889, allocations: 456.4 kB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.8894, allocations: 170.4 kB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.8896, allocations: 108.8 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.8897, allocations: 4 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.8897, allocations: 30.56 kB / 1.216 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.8897, allocations: 0 / 1.216 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0008406/0.8906, allocations: 289.7 kB / 1.217 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.8906, allocations: 51.41 kB / 1.217 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.8908, allocations: 217 kB / 1.217 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.8908, allocations: 25.7 kB / 1.217 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.8909, allocations: 120.1 kB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.891, allocations: 47.3 kB / 1.217 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.891, allocations: 33.7 kB / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8912, allocations: 342.7 kB / 1.217 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.8914, allocations: 75.94 kB / 1.217 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.8916, allocations: 71.94 kB / 1.218 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.8921, allocations: 172.4 kB / 1.218 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8921, allocations: 0 / 1.218 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005429/0.8927, allocations: 217.3 kB / 1.218 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.8927, allocations: 8 kB / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8927, allocations: 0 / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8927, allocations: 4 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.893, allocations: 35.91 kB / 1.218 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.893, allocations: 3.938 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.8932, allocations: 15.97 kB / 1.218 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.8932, allocations: 4 kB / 1.218 GB, free: 3.617 MB / 0.9356 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.0001104/0.8933, allocations: 137.8 kB / 1.218 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.8934, allocations: 19.72 kB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.8935, allocations: 25.83 kB / 1.218 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8935, allocations: 4 kB / 1.218 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8935, allocations: 3.938 kB / 1.218 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8935, allocations: 3.984 kB / 1.218 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.8938, allocations: 269.4 kB / 1.218 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8938, allocations: 0 / 1.218 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.894, allocations: 35.91 kB / 1.218 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8941, allocations: 4 kB / 1.218 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.8941, allocations: 3.984 kB / 1.218 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8941, allocations: 4 kB / 1.218 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8941, allocations: 0 / 1.218 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006008/0.8947, allocations: 319.1 kB / 1.219 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/0.8948, allocations: 104.9 kB / 1.219 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.8948, allocations: 4 kB / 1.219 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.895, allocations: 15.98 kB / 1.219 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.8951, allocations: 7.984 kB / 1.219 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.8951, allocations: 7.984 kB / 1.219 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001339/0.8953, allocations: 156.5 kB / 1.219 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8953, allocations: 3.938 kB / 1.219 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002794/0.8956, allocations: 47.94 kB / 1.219 GB, free: 2.371 MB / 0.9356 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.0001836/0.8957, allocations: 103.2 kB / 1.219 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005242/0.8963, allocations: 167.9 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8963, allocations: 7.938 kB / 1.219 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.8965, allocations: 95.56 kB / 1.219 GB, free: 2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.897, allocations: 28.41 kB / 1.22 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.8978, allocations: 464.3 kB / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.8981, allocations: 0.7275 MB / 1.221 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.8982, allocations: 19.42 kB / 1.221 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of SimCode: time 1.423e-06/0.8982, allocations: 4 kB / 1.221 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of Templates: time 0.004097/0.9023, allocations: 2.327 MB / 1.223 GB, free: 14.4 MB / 0.9512 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/jenkins1/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