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.001093/0.001093, allocations: 110.2 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.001092/0.001092, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.327/1.327, 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.186/2.186, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 64.09 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7891/0.7906, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003268/0.7939, allocations: 2.143 MB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004203/0.7981, allocations: 3.785 MB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.7983, allocations: 9.938 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.7986, allocations: 60.42 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.799, allocations: 121.5 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.7995, allocations: 156.2 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.7999, allocations: 307.9 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.8001, allocations: 58.94 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.8003, allocations: 134.6 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.8006, allocations: 143.7 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.8006, allocations: 20.38 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.8009, allocations: 134.2 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.801, allocations: 54.23 kB / 1.096 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.8012, allocations: 132.2 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.8017, allocations: 339.4 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8017, allocations: 0 / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8017, allocations: 0.8125 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.8017, allocations: 0 / 1.096 GB, free: 0.5156 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.001289/0.803, allocations: 0.6303 MB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.8031, allocations: 9.125 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.8041, allocations: 179.4 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007905/0.8049, allocations: 322.4 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.805, allocations: 9.156 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.805, allocations: 11.06 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007312/0.8057, allocations: 231.3 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.8058, allocations: 0 / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.8058, allocations: 1.094 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.8058, allocations: 2.469 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.8069, allocations: 292 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.8084, allocations: 0.5742 MB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/0.809, allocations: 169.2 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.8096, allocations: 151.8 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009591/0.8105, allocations: 0.5493 MB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.8106, allocations: 32.8 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.8106, allocations: 0 / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.001799/0.8124, allocations: 489.6 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.8124, allocations: 53.25 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.8128, allocations: 270.5 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.8128, allocations: 30.42 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.8129, allocations: 153 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.813, allocations: 48.27 kB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.8131, allocations: 37.81 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8133, allocations: 342.1 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.8138, allocations: 145.9 kB / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.8143, allocations: 146.2 kB / 1.101 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.8154, allocations: 292.1 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.8154, allocations: 0 / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001196/0.8166, allocations: 371 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.8166, allocations: 4.969 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.8167, allocations: 1.125 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.8167, allocations: 1.672 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.8172, allocations: 71.41 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.8172, allocations: 0.5625 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.8176, allocations: 51.25 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.8176, allocations: 7.266 kB / 1.101 GB, free: 13.24 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.0001661/0.8178, allocations: 132.6 kB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.8178, allocations: 23.84 kB / 1.102 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.8191, allocations: 374.7 kB / 1.102 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.8191, allocations: 0.9688 kB / 1.102 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.8191, allocations: 1.875 kB / 1.102 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.8191, allocations: 4.734 kB / 1.102 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.8196, allocations: 310.4 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8196, allocations: 4 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.82, allocations: 61.84 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.82, allocations: 1.125 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.8201, allocations: 12.64 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8201, allocations: 4.875 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8201, allocations: 0.6094 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.8213, allocations: 447.9 kB / 1.103 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.8214, allocations: 132 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.8215, allocations: 1.875 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.8218, allocations: 33.61 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.8219, allocations: 24.47 kB / 1.103 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.822, allocations: 8.906 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002027/0.8222, allocations: 186.8 kB / 1.103 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.653e-06/0.8222, allocations: 1.375 kB / 1.103 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004244/0.8226, allocations: 70.58 kB / 1.103 GB, free: 12.22 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.0002444/0.8229, allocations: 134.4 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.8242, allocations: 324.2 kB / 1.104 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8242, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000596/0.8248, allocations: 159.8 kB / 1.104 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.8253, allocations: 38.5 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.001167/0.8265, allocations: 0.5152 MB / 1.104 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.8268, allocations: 0.75 MB / 1.105 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.827, allocations: 31.8 kB / 1.105 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.827, allocations: 0 / 1.105 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.007552/0.8345, allocations: 3.727 MB / 1.109 GB, free: 10.6 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