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.001211/0.001211, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.00175, allocations: 173 kB / 16.92 MB, free: 6.652 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.32 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.592/2.592, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003609, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7631/0.7635, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002428/0.7659, allocations: 1.632 MB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004531/0.7705, allocations: 3.368 MB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.7707, allocations: 4 kB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.771, allocations: 51.8 kB / 1.029 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.7715, allocations: 115.3 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.7717, allocations: 31.91 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.7719, allocations: 183.2 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.7721, allocations: 29.69 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.7723, allocations: 75.62 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.7725, allocations: 83.61 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.7725, allocations: 4 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.7726, allocations: 27.92 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.7727, allocations: 27.84 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.7729, allocations: 101.2 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.773, allocations: 107.7 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7731, allocations: 3.938 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7731, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.7731, allocations: 0 / 1.029 GB, free: 10 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.0009456/0.774, allocations: 0.4947 MB / 1.03 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.7741, allocations: 8.031 kB / 1.03 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.7742, allocations: 28.66 kB / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.7745, allocations: 250.8 kB / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.7746, allocations: 4.375 kB / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.7746, allocations: 4.375 kB / 1.03 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.775, allocations: 151.4 kB / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.775, allocations: 0 / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.775, allocations: 3.984 kB / 1.03 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/0.7751, allocations: 12 kB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.7756, allocations: 159.8 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008045/0.7764, allocations: 464.5 kB / 1.031 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.7768, allocations: 178.5 kB / 1.031 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.7771, allocations: 112.8 kB / 1.031 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.7772, allocations: 7.984 kB / 1.031 GB, free: 8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.7772, allocations: 38.5 kB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.7772, allocations: 4 kB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0009074/0.7781, allocations: 316.4 kB / 1.032 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.7782, allocations: 59.41 kB / 1.032 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.7784, allocations: 213 kB / 1.032 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.7785, allocations: 33.64 kB / 1.032 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.7785, allocations: 120.1 kB / 1.032 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.7786, allocations: 47.3 kB / 1.032 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.7787, allocations: 17.72 kB / 1.032 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.7788, allocations: 334.8 kB / 1.032 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.7791, allocations: 83.94 kB / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.7793, allocations: 79.94 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.7798, allocations: 184.7 kB / 1.033 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7798, allocations: 0 / 1.033 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000585/0.7804, allocations: 230.5 kB / 1.033 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.7805, allocations: 8 kB / 1.033 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7805, allocations: 0 / 1.033 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.7805, allocations: 4 kB / 1.033 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.7808, allocations: 39.97 kB / 1.033 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.7808, allocations: 7.922 kB / 1.033 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.781, allocations: 19.89 kB / 1.033 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.781, allocations: 4 kB / 1.033 GB, free: 6.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.7811, allocations: 134.3 kB / 1.033 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.7812, allocations: 19.81 kB / 1.033 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.11e-05/0.7812, allocations: 25.84 kB / 1.033 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.7813, allocations: 7.984 kB / 1.033 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7813, allocations: 0 / 1.033 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7813, allocations: 0 / 1.033 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.7816, allocations: 269.3 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.7816, allocations: 0 / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.7818, allocations: 47.91 kB / 1.033 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.7819, allocations: 3.984 kB / 1.033 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.7819, allocations: 3.938 kB / 1.033 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7819, allocations: 4 kB / 1.033 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7819, allocations: 0 / 1.033 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.7825, allocations: 335 kB / 1.034 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.7827, allocations: 112.8 kB / 1.034 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.7827, allocations: 0 / 1.034 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.7829, allocations: 23.98 kB / 1.034 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.783, allocations: 11.97 kB / 1.034 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.783, allocations: 4 kB / 1.034 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001526/0.7832, allocations: 160.4 kB / 1.034 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7832, allocations: 0 / 1.034 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002901/0.7835, allocations: 43.92 kB / 1.034 GB, free: 4.859 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 (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.0001928/0.7837, allocations: 107.2 kB / 1.034 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005676/0.7842, allocations: 195.9 kB / 1.034 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.7843, allocations: 0 / 1.034 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.7845, allocations: 103.9 kB / 1.034 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.785, allocations: 34.36 kB / 1.035 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008819/0.7859, allocations: 0.5266 MB / 1.035 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.7862, allocations: 0.7278 MB / 1.036 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.7863, allocations: 19.42 kB / 1.036 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.7863, allocations: 0 / 1.036 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of Templates: time 0.004809/0.7911, allocations: 2.296 MB / 1.038 GB, free: 0.8047 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/jenkins1/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