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.001515/0.001515, allocations: 105.2 kB / 16.4 MB, free: 6.508 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.001493/0.001493, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.166/2.166, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 59.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9113/0.9127, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002962/0.9158, allocations: 2.021 MB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004051/0.9198, allocations: 3.687 MB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.92, allocations: 1.969 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.9203, allocations: 66.42 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.9206, allocations: 101.6 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.921, allocations: 124.4 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.9214, allocations: 256.4 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.9216, allocations: 47.5 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.9218, allocations: 121.8 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.922, allocations: 110.5 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.922, allocations: 15.28 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.9223, allocations: 122.7 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.9224, allocations: 47.39 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.9225, allocations: 102.1 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.9229, allocations: 267.3 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9229, allocations: 0 / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.845e-06/0.9229, allocations: 5.797 kB / 1.096 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.9229, allocations: 0 / 1.096 GB, free: 0.7773 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.001152/0.9241, allocations: 0.5891 MB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.9241, allocations: 9.219 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.28e-05/0.9242, allocations: 24.86 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.9246, allocations: 277.3 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.9247, allocations: 3 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.9247, allocations: 10 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.9253, allocations: 178.2 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.9253, allocations: 0 / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.9253, allocations: 1.219 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.9253, allocations: 1.594 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007436/0.9261, allocations: 198.3 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.9272, allocations: 480.8 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.9276, allocations: 125.7 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.928, allocations: 112.6 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009427/0.929, allocations: 0.549 MB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.929, allocations: 33.42 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.929, allocations: 4 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.001251/0.9303, allocations: 351.4 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.9303, allocations: 56.25 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.9307, allocations: 241.2 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.9307, allocations: 31.05 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.9308, allocations: 136.8 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.9309, allocations: 35.02 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.931, allocations: 31.05 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9311, allocations: 335 kB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.9315, allocations: 91.36 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.9319, allocations: 100.8 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.9326, allocations: 196.6 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9326, allocations: 4.562 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008199/0.9334, allocations: 250.7 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.9335, allocations: 5.812 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9336, allocations: 7.938 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.9336, allocations: 2.391 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.9339, allocations: 43.19 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.9339, allocations: 3.938 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.9342, allocations: 28.64 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.9342, allocations: 6.188 kB / 1.1 GB, free: 13.82 MB / 0.8731 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.0001183/0.9343, allocations: 130.9 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.9344, allocations: 21.77 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000893/0.9353, allocations: 282.8 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.9353, allocations: 2.859 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.9353, allocations: 3.938 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.9353, allocations: 0.6562 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.9357, allocations: 283.7 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.9357, allocations: 0 / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.936, allocations: 44.45 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.936, allocations: 5.938 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.9361, allocations: 2.922 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9361, allocations: 0.8438 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.9361, allocations: 3.938 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008674/0.937, allocations: 364.9 kB / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.9371, allocations: 113 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.9371, allocations: 1.75 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.9374, allocations: 29.14 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.9375, allocations: 21.47 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.9375, allocations: 4.484 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001696/0.9377, allocations: 169.6 kB / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9377, allocations: 0 / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004161/0.9381, allocations: 58.61 kB / 1.101 GB, free: 12.89 MB / 0.8731 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.0002367/0.9384, allocations: 126.4 kB / 1.101 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008135/0.9392, allocations: 226 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9392, allocations: 3.938 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.9396, allocations: 121.8 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.9401, allocations: 28.92 kB / 1.102 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009604/0.941, allocations: 449.7 kB / 1.102 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.9414, allocations: 0.7304 MB / 1.103 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.9415, allocations: 26.55 kB / 1.103 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.9415, allocations: 0 / 1.103 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of Templates: time 0.006502/0.948, allocations: 2.986 MB / 1.106 GB, free: 11.41 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/jenkins1/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