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.006756/0.006756, allocations: 102.3 kB / 15.73 MB, free: 5.992 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.001189/0.001189, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.325/2.325, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 0.9509 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8105/0.8118, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003945/0.8158, allocations: 2.14 MB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004753/0.8205, allocations: 3.788 MB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.8208, allocations: 6.25 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.8212, allocations: 63.66 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.8216, allocations: 121.9 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.8221, allocations: 151.9 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.8225, allocations: 315.6 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.8227, allocations: 55.28 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.8229, allocations: 131.9 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.8232, allocations: 147.2 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.8232, allocations: 19.97 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.8236, allocations: 133.1 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.026e-05/0.8237, allocations: 59.31 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.8238, allocations: 124.3 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.8244, allocations: 343.6 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.8244, allocations: 0 / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8244, allocations: 0.8125 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.8244, allocations: 0 / 1.095 GB, free: 0.5195 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.00123/0.8257, allocations: 0.6334 MB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8257, allocations: 9.875 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.8268, allocations: 172.3 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000785/0.8276, allocations: 325 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.8276, allocations: 9.938 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.8277, allocations: 15.31 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.8284, allocations: 222.5 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.8285, allocations: 0 / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.8285, allocations: 1.281 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.8285, allocations: 3.188 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.8296, allocations: 284.9 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.8311, allocations: 0.5705 MB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.8317, allocations: 169.2 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/0.8323, allocations: 159.6 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000874/0.8332, allocations: 0.5534 MB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.8332, allocations: 32.17 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/0.8332, allocations: 0 / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.001906/0.8351, allocations: 486.7 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.8352, allocations: 52.53 kB / 1.099 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.8355, allocations: 270.8 kB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.8356, allocations: 30.8 kB / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.8357, allocations: 149 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.8358, allocations: 48.69 kB / 1.099 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.8359, allocations: 37.98 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.836, allocations: 340.8 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/0.8366, allocations: 151.2 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.8372, allocations: 143.2 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.8383, allocations: 293.8 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8383, allocations: 0 / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001229/0.8396, allocations: 364.4 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.8396, allocations: 5.859 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8396, allocations: 0 / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.8396, allocations: 1.406 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.8401, allocations: 75.56 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8401, allocations: 1.219 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.8405, allocations: 55.86 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.8406, allocations: 14.28 kB / 1.101 GB, free: 13.23 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.0001594/0.8407, allocations: 124.3 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.8408, allocations: 23.78 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.8422, allocations: 378.1 kB / 1.101 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8422, allocations: 6.578 kB / 1.101 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.8422, allocations: 0 / 1.101 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8422, allocations: 5.484 kB / 1.101 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.8426, allocations: 310.4 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.8426, allocations: 5.125 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.843, allocations: 60.89 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.8431, allocations: 1.891 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.8431, allocations: 4.594 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.8431, allocations: 0 / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8431, allocations: 1.062 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.8444, allocations: 450.5 kB / 1.102 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.8445, allocations: 129.5 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.8446, allocations: 0.5156 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.8449, allocations: 38.72 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.845, allocations: 19.33 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.8451, allocations: 14.03 kB / 1.102 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002118/0.8453, allocations: 187.4 kB / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8453, allocations: 0 / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004381/0.8457, allocations: 67.17 kB / 1.103 GB, free: 12.23 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.0002598/0.846, allocations: 134.8 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.8474, allocations: 322.4 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8474, allocations: 4 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006344/0.848, allocations: 162.5 kB / 1.103 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.8485, allocations: 30.3 kB / 1.103 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.8497, allocations: 0.4934 MB / 1.104 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.8501, allocations: 0.7509 MB / 1.104 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002372/0.8503, allocations: 50.14 kB / 1.104 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.8504, allocations: 22.97 kB / 1.104 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.8505, allocations: 0 / 1.104 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.01192/0.8624, allocations: 3.381 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