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.001542/0.001542, allocations: 118.1 kB / 16.42 MB, free: 6.473 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.001767/0.001767, allocations: 186.6 kB / 17.35 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.15 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.141/2.141, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6855/0.6867, 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.002756/0.6895, allocations: 2.134 MB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003608/0.6932, allocations: 3.788 MB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.436e-05/0.6933, allocations: 0.8438 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.6935, allocations: 63.23 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.6939, allocations: 130.8 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.6942, allocations: 147.8 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000329/0.6945, allocations: 311.8 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.6947, allocations: 59.3 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.6949, allocations: 131.3 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.6951, allocations: 143.9 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.6951, allocations: 19.38 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.6954, allocations: 137.9 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.6955, allocations: 63.03 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.6956, allocations: 119.7 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.696, allocations: 343.3 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.696, allocations: 0.9688 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.083e-06/0.696, allocations: 0 / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.696, allocations: 4 kB / 1.096 GB, free: 0.4922 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.001145/0.6971, allocations: 0.6298 MB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.6972, allocations: 13.53 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.6982, allocations: 171.2 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.699, allocations: 318.6 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.699, allocations: 8.25 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.699, allocations: 15.48 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.6997, allocations: 226.9 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.6998, allocations: 1.094 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.6998, allocations: 4.844 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6998, allocations: 2.281 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.7009, allocations: 281.1 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.7022, allocations: 0.5753 MB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.7028, allocations: 167.9 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.7034, allocations: 160.2 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008468/0.7042, allocations: 0.5462 MB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.7043, allocations: 35.62 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 2.915e-06/0.7043, allocations: 1.125 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.001748/0.706, allocations: 489.6 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.7061, allocations: 52.41 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.7063, allocations: 271.7 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.7064, allocations: 26.89 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.7065, allocations: 155.8 kB / 1.1 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.7065, allocations: 40.39 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.7066, allocations: 46.28 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7068, allocations: 337.7 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.7073, allocations: 146.4 kB / 1.101 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.7079, allocations: 154 kB / 1.101 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.7089, allocations: 287.2 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7089, allocations: 0 / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0012/0.7101, allocations: 371.4 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.7101, allocations: 8.906 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7101, allocations: 0.8438 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7102, allocations: 1.594 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.7106, allocations: 63.69 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.7107, allocations: 8.953 kB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.711, allocations: 54.3 kB / 1.101 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.7111, allocations: 11.31 kB / 1.101 GB, free: 13.21 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.0001401/0.7112, allocations: 128.9 kB / 1.102 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.7113, allocations: 23.78 kB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.7126, allocations: 382.5 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7126, allocations: 1.641 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7126, allocations: 0 / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.7127, allocations: 124.7 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.7128, allocations: 8.812 kB / 1.102 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.7131, allocations: 34.5 kB / 1.102 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.7132, allocations: 19.92 kB / 1.102 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001467/0.7147, allocations: 437.2 kB / 1.103 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001222/0.7159, allocations: 0.5187 MB / 1.103 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005412/0.7165, allocations: 151.2 kB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002072/0.7167, allocations: 185.7 kB / 1.103 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of Backend: time 8.32e-07/0.7167, allocations: 4.5 kB / 1.103 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.7179, allocations: 285.7 kB / 1.104 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001033/0.7189, allocations: 0.8861 MB / 1.105 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.008527/0.7274, allocations: 4.518 MB / 1.109 GB, free: 11.01 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