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.006599/0.006599, allocations: 99.89 kB / 15.73 MB, free: 6.016 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.001601/0.001601, allocations: 187.7 kB / 16.67 MB, free: 5.93 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.266/2.266, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 71.88 kB / 0.9509 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8159, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003122/0.8191, allocations: 2.017 MB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004018/0.8231, allocations: 3.687 MB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.8233, allocations: 5.562 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.8236, allocations: 54.78 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.8239, allocations: 105.9 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.8243, allocations: 132.8 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.8247, allocations: 248.8 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.8248, allocations: 55.55 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.8251, allocations: 113.6 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.8252, allocations: 114.1 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.8253, allocations: 20.12 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.8255, allocations: 114 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.8256, allocations: 50.8 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.8257, allocations: 98.52 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.8261, allocations: 277.9 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.8261, allocations: 1.766 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8261, allocations: 0 / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.8262, allocations: 0 / 1.095 GB, free: 0.8008 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.001144/0.8273, allocations: 0.5989 MB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.8274, allocations: 13.47 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.8274, allocations: 31.88 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.8278, allocations: 270 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.8278, allocations: 7.5 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.8279, allocations: 9.938 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.8284, allocations: 169.2 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.8284, allocations: 1.406 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.8285, allocations: 8.938 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8285, allocations: 1.75 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/0.8292, allocations: 190.8 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009712/0.8302, allocations: 487.7 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.8307, allocations: 125.5 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.8311, allocations: 108.8 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009412/0.832, allocations: 0.5533 MB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.8321, allocations: 40.56 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.8321, allocations: 0 / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.001394/0.8335, allocations: 352 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.8336, allocations: 53.66 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.8339, allocations: 240.4 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.8339, allocations: 26.36 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.834, allocations: 141.6 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.8341, allocations: 39.2 kB / 1.098 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.8341, allocations: 32.2 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.8343, allocations: 330.5 kB / 1.099 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.8347, allocations: 99.48 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.835, allocations: 95.62 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/0.8358, allocations: 200.9 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8358, allocations: 0 / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008496/0.8367, allocations: 255.3 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.8367, allocations: 6 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8367, allocations: 0.6562 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.8367, allocations: 0.9062 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.8371, allocations: 47.47 kB / 1.099 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.8371, allocations: 9.062 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.8374, allocations: 28.72 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.8374, allocations: 5.094 kB / 1.099 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.0001291/0.8375, allocations: 123 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.8376, allocations: 22.39 kB / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000966/0.8386, allocations: 283 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.8386, allocations: 5.438 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8386, allocations: 6.016 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8386, allocations: 4.562 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.839, allocations: 278.9 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.839, allocations: 0 / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.8393, allocations: 48.09 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.8393, allocations: 1.578 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.8393, allocations: 2.734 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.8394, allocations: 1.719 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.8394, allocations: 7.938 kB / 1.1 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/0.8403, allocations: 361.3 kB / 1.1 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.8404, allocations: 121.5 kB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.8404, allocations: 1.125 kB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.8407, allocations: 24.3 kB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.8408, allocations: 18.72 kB / 1.1 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.8408, allocations: 4.906 kB / 1.1 GB, free: 13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001831/0.841, allocations: 169.5 kB / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.841, allocations: 0 / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003897/0.8414, allocations: 57.84 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.0002352/0.8417, allocations: 137.3 kB / 1.101 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008596/0.8425, allocations: 223 kB / 1.101 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8425, allocations: 0 / 1.101 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.843, allocations: 113 kB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.8434, allocations: 26.59 kB / 1.101 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009251/0.8443, allocations: 435.5 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.8447, allocations: 0.7346 MB / 1.102 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.8449, allocations: 39.03 kB / 1.102 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.845, allocations: 23 kB / 1.102 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.845, allocations: 0 / 1.102 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.007099/0.8521, allocations: 2.707 MB / 1.105 GB, free: 11.48 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