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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001353/0.001353, allocations: 108 kB / 15.6 MB, free: 132 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.001647/0.001647, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437 MB / 0.7103 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6057/0.6069, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003205/0.6102, allocations: 1.914 MB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00381/0.614, allocations: 3.446 MB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/0.6141, allocations: 4 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.6144, allocations: 55.61 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004363/0.6149, allocations: 131.2 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.022e-05/0.6149, allocations: 23.97 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000261/0.6152, allocations: 179.2 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.6153, allocations: 29.61 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.6155, allocations: 91.62 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.6157, allocations: 79.67 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.6157, allocations: 8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.753e-05/0.6158, allocations: 31.92 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.6159, allocations: 35.84 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.6159, allocations: 79.53 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.6162, allocations: 171.3 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6162, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6162, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.6162, allocations: 4 kB / 1.023 GB, free: 12.18 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.0008567/0.617, allocations: 0.5061 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.6171, allocations: 8.031 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.6171, allocations: 20.66 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.6175, allocations: 246.9 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.6175, allocations: 8.375 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.6175, allocations: 4.375 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.6179, allocations: 149.6 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.6179, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.6179, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.618, allocations: 12 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.6184, allocations: 139.9 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.6191, allocations: 456.5 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.6196, allocations: 178.4 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.6198, allocations: 100.8 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.6199, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.6199, allocations: 42.56 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.6199, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008655/0.6208, allocations: 289.7 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.6208, allocations: 55.41 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.621, allocations: 213 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.6211, allocations: 33.7 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.6212, allocations: 120 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.6212, allocations: 51.28 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.6213, allocations: 25.7 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6214, allocations: 338.8 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.6217, allocations: 79.94 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.6219, allocations: 72.94 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.6224, allocations: 171.4 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6224, allocations: 0 / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005364/0.6229, allocations: 213.3 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.6229, allocations: 4 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.623, allocations: 0 / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.623, allocations: 4 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.6232, allocations: 31.97 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6233, allocations: 0 / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.6234, allocations: 19.89 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.6235, allocations: 11.97 kB / 1.027 GB, free: 8.414 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.0001173/0.6236, allocations: 125.8 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.6236, allocations: 23.81 kB / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.6237, allocations: 37.7 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.6237, allocations: 0 / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.6237, allocations: 0 / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6237, allocations: 3.938 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.624, allocations: 273.3 kB / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.624, allocations: 0 / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.6243, allocations: 31.97 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6243, allocations: 4 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.6243, allocations: 7.984 kB / 1.027 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6243, allocations: 4 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6243, allocations: 0 / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/0.6249, allocations: 319.1 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.6251, allocations: 116.9 kB / 1.028 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.6251, allocations: 0 / 1.028 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.6253, allocations: 11.98 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.6254, allocations: 11.98 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.6254, allocations: 4 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001415/0.6256, allocations: 160.5 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6256, allocations: 0 / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002837/0.6259, allocations: 39.84 kB / 1.028 GB, free: 7.176 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.0001676/0.626, allocations: 111.2 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005438/0.6266, allocations: 189.2 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6266, allocations: 0 / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.6268, allocations: 99.88 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.6273, allocations: 20.42 kB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.6281, allocations: 443.8 kB / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.6285, allocations: 0.7236 MB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.6287, allocations: 52.58 kB / 1.03 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.6287, allocations: 19.44 kB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.6287, allocations: 4 kB / 1.03 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of Templates: time 0.004416/0.6332, allocations: 1.826 MB / 1.031 GB, free: 3.668 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