Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001604/0.001604, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.0016/0.0016, allocations: 193 kB / 16.91 MB, free: 6.195 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.42 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3429, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003723/0.3467, allocations: 2.188 MB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004871/0.3516, allocations: 3.751 MB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.3518, allocations: 0 / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.3521, allocations: 51.61 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.3525, allocations: 111.3 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.3529, allocations: 135.7 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.3533, allocations: 310.9 kB / 1.071 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.3535, allocations: 56.72 kB / 1.071 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.3538, allocations: 131.5 kB / 1.071 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.354, allocations: 151.3 kB / 1.071 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.354, allocations: 20 kB / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.3543, allocations: 127.8 kB / 1.071 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.172e-05/0.3544, allocations: 63.73 kB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.3545, allocations: 123.3 kB / 1.071 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.3548, allocations: 231.5 kB / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3549, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3549, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3549, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8419 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.0013/0.3562, allocations: 0.6346 MB / 1.072 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3562, allocations: 8.031 kB / 1.072 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009291/0.3572, allocations: 172.3 kB / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.3579, allocations: 328.2 kB / 1.072 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3579, allocations: 8.562 kB / 1.072 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.358, allocations: 23.91 kB / 1.073 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006901/0.3587, allocations: 219.9 kB / 1.073 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3587, allocations: 0 / 1.073 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.3587, allocations: 8 kB / 1.073 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3587, allocations: 7.984 kB / 1.073 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009906/0.3597, allocations: 283.6 kB / 1.073 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.3611, allocations: 0.5707 MB / 1.074 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.3617, allocations: 178.4 kB / 1.074 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/0.3622, allocations: 156.7 kB / 1.074 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009028/0.3631, allocations: 0.5415 MB / 1.074 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3632, allocations: 42.55 kB / 1.074 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 3.907e-06/0.3632, allocations: 4 kB / 1.074 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.001695/0.3649, allocations: 469 kB / 1.075 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.3649, allocations: 63.34 kB / 1.075 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.3652, allocations: 268.4 kB / 1.075 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.3653, allocations: 33.7 kB / 1.075 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3654, allocations: 144 kB / 1.075 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.3655, allocations: 51.28 kB / 1.075 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3656, allocations: 37.69 kB / 1.075 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3657, allocations: 342.8 kB / 1.076 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.3663, allocations: 147.9 kB / 1.076 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.3668, allocations: 147.9 kB / 1.076 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009962/0.3678, allocations: 286.9 kB / 1.076 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3678, allocations: 0 / 1.076 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001162/0.369, allocations: 365 kB / 1.077 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.369, allocations: 8 kB / 1.077 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.369, allocations: 7.922 kB / 1.077 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.369, allocations: 4 kB / 1.077 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.3695, allocations: 63.92 kB / 1.077 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3695, allocations: 0 / 1.077 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.3699, allocations: 39.8 kB / 1.077 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.3699, allocations: 15.98 kB / 1.077 GB, free: 1.734 MB / 0.8419 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.0001856/0.3701, allocations: 129.8 kB / 1.077 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.3702, allocations: 27.7 kB / 1.077 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.3714, allocations: 375.3 kB / 1.077 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3714, allocations: 4 kB / 1.077 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3714, allocations: 7.938 kB / 1.077 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3714, allocations: 3.938 kB / 1.077 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.3718, allocations: 309.3 kB / 1.078 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3719, allocations: 3.938 kB / 1.078 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.3722, allocations: 63.86 kB / 1.078 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3723, allocations: 0 / 1.078 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3723, allocations: 8 kB / 1.078 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3723, allocations: 3.984 kB / 1.078 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3723, allocations: 0 / 1.078 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3734, allocations: 454.3 kB / 1.078 GB, free: 296 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.3736, allocations: 116.7 kB / 1.078 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.3736, allocations: 11.98 kB / 1.078 GB, free: 148 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.374, allocations: 39.95 kB / 1.078 GB, free: 108 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.3741, allocations: 15.97 kB / 1.078 GB, free: 92 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.3741, allocations: 11.92 kB / 1.078 GB, free: 80 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.537/0.9111, allocations: 183.2 kB / 1.079 GB, free: 23.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8.21e-07/0.9111, allocations: 0.75 kB / 1.079 GB, free: 23.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005535/0.9117, allocations: 69.64 kB / 1.079 GB, free: 23.01 MB / 0.8419 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.0002925/0.912, allocations: 133.2 kB / 1.079 GB, free: 22.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.9133, allocations: 331.1 kB / 1.079 GB, free: 22.92 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9133, allocations: 0 / 1.079 GB, free: 22.92 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005691/0.9138, allocations: 164.9 kB / 1.079 GB, free: 22.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.9144, allocations: 28.34 kB / 1.079 GB, free: 22.92 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.9155, allocations: 0.5881 MB / 1.08 GB, free: 22.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.9157, allocations: 0.7459 MB / 1.081 GB, free: 21.92 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.9159, allocations: 34.55 kB / 1.081 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.9159, allocations: 3.828 kB / 1.081 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.007551/0.9235, allocations: 3.72 MB / 1.084 GB, free: 21.7 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches