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.009607/0.009607, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.002161/0.002161, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.861/2.861, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 63.91 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3163, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003528/0.3198, allocations: 2.15 MB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004858/0.3247, allocations: 3.797 MB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3249, allocations: 4 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.3252, allocations: 67.42 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.3256, allocations: 119.1 kB / 1.227 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.326, allocations: 155.6 kB / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.3264, allocations: 310.9 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.3266, allocations: 40.72 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.3268, allocations: 135.5 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.327, allocations: 155.3 kB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.3271, allocations: 20 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.3274, allocations: 131.8 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.3274, allocations: 59.77 kB / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.3275, allocations: 119.3 kB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.328, allocations: 354.4 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.328, allocations: 0 / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.328, allocations: 0 / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.328, allocations: 0 / 1.228 GB, free: 6.184 MB / 0.9825 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.001277/0.3293, allocations: 0.6383 MB / 1.229 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3293, allocations: 8.031 kB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009644/0.3303, allocations: 176.5 kB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007441/0.3311, allocations: 324.4 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3311, allocations: 12.56 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.3311, allocations: 15.94 kB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.3318, allocations: 218.6 kB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3318, allocations: 4 kB / 1.229 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.3318, allocations: 12 kB / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3318, allocations: 0 / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009614/0.3328, allocations: 279.7 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.3341, allocations: 0.5785 MB / 1.23 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/0.3347, allocations: 154.5 kB / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.3352, allocations: 156.7 kB / 1.23 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008883/0.336, allocations: 0.5493 MB / 1.231 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3361, allocations: 34.56 kB / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3361, allocations: 0 / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001637/0.3377, allocations: 485.4 kB / 1.232 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.3378, allocations: 55.41 kB / 1.232 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.338, allocations: 272.5 kB / 1.232 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.338, allocations: 29.7 kB / 1.232 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3382, allocations: 144.1 kB / 1.232 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.3382, allocations: 47.58 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.3383, allocations: 37.69 kB / 1.232 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3384, allocations: 342.8 kB / 1.232 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.3389, allocations: 147.8 kB / 1.233 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.3394, allocations: 149.6 kB / 1.233 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000921/0.3403, allocations: 288.6 kB / 1.233 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3404, allocations: 0 / 1.233 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001089/0.3414, allocations: 375.1 kB / 1.233 GB, free: 404 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3415, allocations: 4 kB / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3415, allocations: 0 / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3415, allocations: 4 kB / 1.233 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.342, allocations: 75.84 kB / 1.233 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.342, allocations: 0 / 1.233 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.3423, allocations: 47.78 kB / 1.233 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.3423, allocations: 11.98 kB / 1.233 GB, free: 260 kB / 0.9825 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.0001388/0.3425, allocations: 126.4 kB / 1.234 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.3425, allocations: 27.8 kB / 1.234 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.3437, allocations: 375.2 kB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3437, allocations: 8 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3437, allocations: 0 / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3437, allocations: 3.938 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.3441, allocations: 301.4 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3441, allocations: 0 / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.3445, allocations: 59.92 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3445, allocations: 3.984 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.3445, allocations: 4 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3445, allocations: 4 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3445, allocations: 0 / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.3456, allocations: 455 kB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.3458, allocations: 124.9 kB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.3458, allocations: 4 kB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.3462, allocations: 43.94 kB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.3462, allocations: 11.98 kB / 1.235 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.3463, allocations: 11.92 kB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001604/0.3464, allocations: 187.1 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3464, allocations: 0 / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003658/0.3468, allocations: 71.81 kB / 1.235 GB, free: 14.37 MB / 0.9981 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.0002451/0.347, allocations: 143 kB / 1.235 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.3482, allocations: 315.1 kB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3482, allocations: 0 / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005002/0.3487, allocations: 155.8 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.3491, allocations: 32.62 kB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3503, allocations: 0.4987 MB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3506, allocations: 0.7435 MB / 1.237 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.3508, allocations: 45.39 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.3509, allocations: 27.42 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.3509, allocations: 0 / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of Templates: time 0.007468/0.3584, allocations: 3.337 MB / 1.24 GB, free: 9.059 MB / 0.9981 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=480 -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/jenkins/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