Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,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.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,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.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001444/0.001444, allocations: 183 kB / 17.34 MB, free: 5.75 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 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.354/2.354, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.817/0.8182, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003172/0.8214, allocations: 2.135 MB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004555/0.826, allocations: 3.782 MB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.8262, allocations: 1 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.8266, allocations: 71.53 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.827, allocations: 117.6 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.8275, allocations: 156 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.8279, allocations: 316 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.8281, allocations: 55.58 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.8284, allocations: 130 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.8286, allocations: 143.7 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.8287, allocations: 19.97 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.829, allocations: 134.1 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.8291, allocations: 63.19 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.8293, allocations: 119.7 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.8298, allocations: 351 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8298, allocations: 1.312 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8298, allocations: 0 / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.8298, allocations: 0 / 1.096 GB, free: 0.4961 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001266/0.8311, allocations: 0.6262 MB / 1.097 GB, free: 16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.8311, allocations: 9.688 kB / 1.097 GB, free: 16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.8321, allocations: 174.5 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007956/0.833, allocations: 324 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.833, allocations: 8.312 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.833, allocations: 11.06 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007775/0.8338, allocations: 232.2 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.8338, allocations: 0 / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.8339, allocations: 1.781 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.8339, allocations: 5.703 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.835, allocations: 281.6 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.8364, allocations: 0.5783 MB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.8371, allocations: 165 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/0.8376, allocations: 156.6 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009084/0.8386, allocations: 0.5537 MB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.8386, allocations: 32.36 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.8386, allocations: 0 / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.001863/0.8405, allocations: 489.1 kB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.8405, allocations: 54.28 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.8409, allocations: 266.2 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.8409, allocations: 34.83 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.841, allocations: 147.7 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/0.8411, allocations: 44.83 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.8412, allocations: 42.98 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8413, allocations: 340.2 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.8419, allocations: 146.2 kB / 1.101 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.8425, allocations: 148.1 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.8436, allocations: 294.3 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8436, allocations: 4 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001249/0.8448, allocations: 364.1 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.8449, allocations: 5.578 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.8449, allocations: 1.094 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.8449, allocations: 0.8438 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.8454, allocations: 68.34 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8454, allocations: 8.547 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.8458, allocations: 51 kB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.8458, allocations: 7.141 kB / 1.101 GB, free: 13.22 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 (17): * Single equations (assignments): 17 * 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.0001626/0.846, allocations: 128.8 kB / 1.102 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.8461, allocations: 22.97 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.8474, allocations: 381.4 kB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.8474, allocations: 2.375 kB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8475, allocations: 0 / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.8475, allocations: 5.109 kB / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.8479, allocations: 310.4 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.8479, allocations: 1.125 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.8483, allocations: 61.94 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.8483, allocations: 0 / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.8484, allocations: 8.141 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.8484, allocations: 2.031 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8484, allocations: 0 / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.8496, allocations: 448.3 kB / 1.103 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.8498, allocations: 125.2 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.8498, allocations: 4.438 kB / 1.103 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.8502, allocations: 42.12 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.8503, allocations: 15.64 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.8503, allocations: 14.83 kB / 1.103 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002205/0.8506, allocations: 186.2 kB / 1.103 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8506, allocations: 0 / 1.103 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00043/0.851, allocations: 68.45 kB / 1.103 GB, free: 12.21 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 (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.0002616/0.8513, allocations: 133.9 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.8527, allocations: 321.7 kB / 1.104 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8527, allocations: 4.5 kB / 1.104 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006506/0.8533, allocations: 163.5 kB / 1.104 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.8539, allocations: 35.97 kB / 1.104 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.8551, allocations: 0.5305 MB / 1.104 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.8555, allocations: 0.747 MB / 1.105 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.8556, allocations: 30.16 kB / 1.105 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of SimCode: time 7.41e-07/0.8556, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of Templates: time 0.007695/0.8633, allocations: 3.73 MB / 1.109 GB, free: 10.59 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches