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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001166/0.001166, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001445/0.001445, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.552/2.552, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.6743, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.001922/0.6763, allocations: 1.773 MB / 0.9562 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003444/0.6797, allocations: 3.546 MB / 0.9596 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.6799, allocations: 1.781 kB / 0.9596 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.6801, allocations: 52.3 kB / 0.9597 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.6804, allocations: 109.7 kB / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.6807, allocations: 116.5 kB / 0.9599 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.681, allocations: 268.7 kB / 0.9602 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.6811, allocations: 46.89 kB / 0.9602 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.6813, allocations: 119.8 kB / 0.9603 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.6815, allocations: 128.9 kB / 0.9604 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.6815, allocations: 13.62 kB / 0.9605 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.6817, allocations: 109.6 kB / 0.9606 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.6818, allocations: 49.33 kB / 0.9606 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.6819, allocations: 62.08 kB / 0.9607 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.6821, allocations: 220.5 kB / 0.9609 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6821, allocations: 1.375 kB / 0.9609 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6821, allocations: 0 / 0.9609 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.6821, allocations: 0 / 0.9609 GB, free: 2.617 MB / 0.7169 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.001034/0.6832, allocations: 0.6232 MB / 0.9615 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6832, allocations: 9.562 kB / 0.9615 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008183/0.684, allocations: 163.9 kB / 0.9616 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/0.6847, allocations: 324.3 kB / 0.962 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.6847, allocations: 7.906 kB / 0.962 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.6847, allocations: 11.47 kB / 0.962 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.6854, allocations: 251.7 kB / 0.9622 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.6854, allocations: 4.922 kB / 0.9622 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.6854, allocations: 8.984 kB / 0.9622 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.6854, allocations: 2.125 kB / 0.9622 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009441/0.6864, allocations: 341.9 kB / 0.9626 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.6875, allocations: 0.5983 MB / 0.9631 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.688, allocations: 204.1 kB / 0.9633 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/0.6885, allocations: 184.7 kB / 0.9635 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/0.6892, allocations: 0.5669 MB / 0.9641 GB, free: 152 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.6892, allocations: 43.86 kB / 0.9641 GB, free: 100 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.6892, allocations: 0 / 0.9641 GB, free: 100 kB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001618/0.6908, allocations: 0.5616 MB / 0.9647 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.6909, allocations: 57.78 kB / 0.9647 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.6912, allocations: 264.6 kB / 0.965 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.6912, allocations: 31.08 kB / 0.965 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.6913, allocations: 147.8 kB / 0.9651 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.6914, allocations: 48.02 kB / 0.9652 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.6914, allocations: 1.312 kB / 0.9652 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6915, allocations: 337.2 kB / 0.9655 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.6921, allocations: 178.9 kB / 0.9657 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.6925, allocations: 175 kB / 0.9658 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.6931, allocations: 173.6 kB / 0.966 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6931, allocations: 0 / 0.966 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001123/0.6942, allocations: 434.1 kB / 0.9664 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6942, allocations: 5.219 kB / 0.9664 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6942, allocations: 0 / 0.9664 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6943, allocations: 4.859 kB / 0.9664 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.6947, allocations: 84.64 kB / 0.9665 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.6947, allocations: 0.8125 kB / 0.9665 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.6951, allocations: 58.69 kB / 0.9666 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.6951, allocations: 15.92 kB / 0.9666 GB, free: 14.55 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.6952, allocations: 131.1 kB / 0.9667 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.6953, allocations: 27.81 kB / 0.9667 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.6966, allocations: 440.4 kB / 0.9672 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6966, allocations: 2.25 kB / 0.9672 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6966, allocations: 0 / 0.9672 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.6966, allocations: 4.828 kB / 0.9672 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.697, allocations: 309.3 kB / 0.9675 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6971, allocations: 0 / 0.9675 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.6975, allocations: 78.77 kB / 0.9675 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6975, allocations: 1.125 kB / 0.9675 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.6975, allocations: 5.172 kB / 0.9675 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6975, allocations: 1.031 kB / 0.9675 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6975, allocations: 3.938 kB / 0.9675 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.6987, allocations: 0.4997 MB / 0.968 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.6988, allocations: 122.6 kB / 0.9681 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.6989, allocations: 1.562 kB / 0.9681 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.6992, allocations: 53.3 kB / 0.9682 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.6993, allocations: 17.78 kB / 0.9682 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.6993, allocations: 7.266 kB / 0.9682 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001763/0.6995, allocations: 184 kB / 0.9684 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6995, allocations: 0 / 0.9684 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003785/0.6999, allocations: 66.47 kB / 0.9685 GB, free: 13.24 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00026/0.7002, allocations: 144.2 kB / 0.9686 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.7013, allocations: 379.8 kB / 0.969 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7013, allocations: 0 / 0.969 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.7019, allocations: 192.5 kB / 0.9691 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.7024, allocations: 32.38 kB / 0.9692 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.7035, allocations: 0.5899 MB / 0.9697 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.7038, allocations: 0.7474 MB / 0.9705 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002554/0.7041, allocations: 40.83 kB / 0.9705 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.749e-05/0.7042, allocations: 24.28 kB / 0.9705 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of SimCode: time 7.71e-07/0.7042, allocations: 4 kB / 0.9705 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.00693/0.7111, allocations: 2.842 MB / 0.9733 GB, free: 10.23 MB / 0.7325 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