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.005616/0.005616, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001376/0.001376, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.293/2.293, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 71.83 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8662/0.8676, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002951/0.8706, allocations: 2.144 MB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003966/0.8746, allocations: 3.788 MB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.8747, allocations: 1.188 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.875, allocations: 64.75 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.8754, allocations: 125.2 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.8757, allocations: 148.3 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000395/0.8761, allocations: 315.4 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.8763, allocations: 56.14 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.8765, allocations: 130.3 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.8767, allocations: 143.4 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.8768, allocations: 24.11 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.877, allocations: 133.2 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.8771, allocations: 63.95 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.8773, allocations: 120.2 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.8777, allocations: 339.1 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8777, allocations: 0 / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8777, allocations: 3.938 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.8777, allocations: 1.156 kB / 1.095 GB, free: 500 kB / 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.001259/0.879, allocations: 0.6357 MB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.8791, allocations: 13.19 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.8802, allocations: 175.2 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007805/0.8809, allocations: 315.1 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.881, allocations: 9.5 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.881, allocations: 15 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007525/0.8818, allocations: 230.2 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8818, allocations: 0.9062 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.8818, allocations: 5.031 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.8818, allocations: 2.953 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.8829, allocations: 281 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.8844, allocations: 0.5741 MB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.885, allocations: 164.4 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/0.8856, allocations: 160.9 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008948/0.8865, allocations: 0.542 MB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.8865, allocations: 39.72 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.8865, allocations: 3.938 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.001849/0.8884, allocations: 489.8 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.8885, allocations: 53.73 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.8887, allocations: 263.2 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.8888, allocations: 30.8 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.8889, allocations: 152.3 kB / 1.099 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.8889, allocations: 39.92 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.8891, allocations: 42.27 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8892, allocations: 341.7 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.8898, allocations: 145.7 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.8904, allocations: 148.5 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.8916, allocations: 293.2 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.8916, allocations: 8.547 kB / 1.1 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001356/0.893, allocations: 367.5 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.893, allocations: 9.609 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.893, allocations: 1.25 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.893, allocations: 1.781 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.8935, allocations: 62.95 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.8935, allocations: 1.656 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.8939, allocations: 58.69 kB / 1.101 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.894, allocations: 10.94 kB / 1.101 GB, free: 13.2 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.0001833/0.8942, allocations: 128.7 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.8942, allocations: 22.98 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.8956, allocations: 375.8 kB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.8957, allocations: 1.125 kB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8957, allocations: 3.938 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.8957, allocations: 6.266 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.8961, allocations: 310.2 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8961, allocations: 0 / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.8965, allocations: 61.86 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8965, allocations: 1.562 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.8966, allocations: 3.438 kB / 1.102 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.8966, allocations: 5.734 kB / 1.102 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8966, allocations: 0 / 1.102 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.8978, allocations: 448.1 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.898, allocations: 120.5 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.898, allocations: 5.5 kB / 1.102 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.8984, allocations: 38.48 kB / 1.102 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/0.8985, allocations: 15.48 kB / 1.102 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.8985, allocations: 10 kB / 1.102 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002/0.8987, allocations: 186.4 kB / 1.102 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8987, allocations: 0 / 1.102 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004407/0.8992, allocations: 68.2 kB / 1.103 GB, free: 12.2 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.0002735/0.8995, allocations: 134.2 kB / 1.103 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.9008, allocations: 323 kB / 1.103 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.9008, allocations: 0.5 kB / 1.103 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000621/0.9015, allocations: 170.3 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.9019, allocations: 46.02 kB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.9031, allocations: 0.4975 MB / 1.104 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.9034, allocations: 0.7452 MB / 1.104 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.9037, allocations: 40.14 kB / 1.104 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.9038, allocations: 26 kB / 1.104 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.9038, allocations: 4 kB / 1.104 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of Templates: time 0.008048/0.9119, allocations: 3.293 MB / 1.108 GB, free: 10.69 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/jenkins/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