Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008046/0.008046, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.001712/0.001712, allocations: 186.2 kB / 16.67 MB, free: 5.969 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.28 kB / 0.9508 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2644, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.005125/0.2696, allocations: 2.011 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006776/0.2764, allocations: 3.693 MB / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.2766, allocations: 8 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.277, allocations: 51.56 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.2773, allocations: 99.34 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.2777, allocations: 135.6 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.2781, allocations: 251.1 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2782, allocations: 52.36 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.2785, allocations: 111.5 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.2787, allocations: 115.5 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.2788, allocations: 16 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.279, allocations: 115.8 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.2791, allocations: 47.83 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.2792, allocations: 103.4 kB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.2796, allocations: 279 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2796, allocations: 4 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2796, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2796, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001334/0.281, allocations: 0.5763 MB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.281, allocations: 8.031 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.2811, allocations: 24.66 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.2815, allocations: 275.5 kB / 1.096 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2815, allocations: 8.375 kB / 1.096 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.2816, allocations: 8.375 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.282, allocations: 173.6 kB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2821, allocations: 0 / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.2821, allocations: 4 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2821, allocations: 0 / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.2827, allocations: 199.8 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/0.2836, allocations: 492.3 kB / 1.097 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.284, allocations: 126.4 kB / 1.097 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.2843, allocations: 112.8 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008379/0.2851, allocations: 0.5493 MB / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.2852, allocations: 38.56 kB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.512e-06/0.2852, allocations: 0 / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001111/0.2863, allocations: 349.3 kB / 1.098 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.2864, allocations: 51.41 kB / 1.098 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.2866, allocations: 242.7 kB / 1.098 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.2866, allocations: 29.64 kB / 1.098 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.2867, allocations: 140 kB / 1.098 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.2867, allocations: 35.41 kB / 1.098 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/0.2868, allocations: 33.69 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2869, allocations: 338.8 kB / 1.098 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.2872, allocations: 87.92 kB / 1.099 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.2876, allocations: 99.91 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/0.2884, allocations: 193.3 kB / 1.099 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2884, allocations: 0 / 1.099 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001188/0.2896, allocations: 261.1 kB / 1.099 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2897, allocations: 8 kB / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2897, allocations: 0 / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2897, allocations: 0 / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.29, allocations: 55.88 kB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.29, allocations: 3.938 kB / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.2903, allocations: 27.88 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.2903, allocations: 3.984 kB / 1.099 GB, free: 5.566 MB / 0.8575 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 (11): * Single equations (assignments): 11 * 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.0001136/0.2904, allocations: 125.8 kB / 1.099 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.2905, allocations: 19.81 kB / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008137/0.2913, allocations: 291 kB / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2913, allocations: 0 / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2913, allocations: 3.938 kB / 1.1 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2913, allocations: 4 kB / 1.1 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.2916, allocations: 277.4 kB / 1.1 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2916, allocations: 0 / 1.1 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.2919, allocations: 47.94 kB / 1.1 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2919, allocations: 0 / 1.1 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.292, allocations: 0 / 1.1 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.292, allocations: 4 kB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.292, allocations: 3.938 kB / 1.1 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/0.2927, allocations: 359 kB / 1.1 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.2928, allocations: 116.7 kB / 1.1 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.2929, allocations: 7.984 kB / 1.1 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.2931, allocations: 23.95 kB / 1.1 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.2932, allocations: 23.92 kB / 1.1 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.2932, allocations: 7.984 kB / 1.1 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001322/0.2934, allocations: 166 kB / 1.101 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2934, allocations: 0 / 1.101 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003163/0.2937, allocations: 52 kB / 1.101 GB, free: 3.973 MB / 0.8575 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 (11): * Single equations (assignments): 11 * 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.0002288/0.2939, allocations: 131.2 kB / 1.101 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007181/0.2947, allocations: 219.7 kB / 1.101 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2947, allocations: 0 / 1.101 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.295, allocations: 123.8 kB / 1.101 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.2955, allocations: 30.38 kB / 1.101 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008172/0.2963, allocations: 422.4 kB / 1.102 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.2966, allocations: 0.7352 MB / 1.102 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.2967, allocations: 40.84 kB / 1.102 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.2968, allocations: 19.42 kB / 1.102 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2968, allocations: 0 / 1.102 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of Templates: time 0.006019/0.3029, allocations: 2.77 MB / 1.105 GB, free: 15.46 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches