Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 107.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 249.9 MB, free: 13.61 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 443.5 MB / 0.731 GB, free: 12.71 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=514,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_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=514,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_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 59.91 kB / 1.06 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9168/0.9187, allocations: 160.7 MB / 1.217 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004001/0.9227, allocations: 2.168 MB / 1.219 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005411/0.9281, allocations: 3.814 MB / 1.222 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.9283, allocations: 5.281 kB / 1.222 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.9286, allocations: 57.42 kB / 1.222 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004356/0.929, allocations: 127.8 kB / 1.223 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.9295, allocations: 156.7 kB / 1.223 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.9299, allocations: 305.1 kB / 1.223 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.9301, allocations: 49.05 kB / 1.223 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.9303, allocations: 133.6 kB / 1.223 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.9305, allocations: 145.4 kB / 1.223 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.9306, allocations: 24.38 kB / 1.223 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.9309, allocations: 129.8 kB / 1.223 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.557e-05/0.931, allocations: 60.83 kB / 1.224 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.9311, allocations: 123.4 kB / 1.224 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005547/0.9317, allocations: 340 kB / 1.224 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.9317, allocations: 1.062 kB / 1.224 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9317, allocations: 4 kB / 1.224 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.9317, allocations: 3.938 kB / 1.224 GB, free: 14.07 MB / 0.9356 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.001411/0.9331, allocations: 0.6373 MB / 1.225 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.9331, allocations: 9.875 kB / 1.225 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000925/0.9341, allocations: 170.1 kB / 1.225 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000753/0.9348, allocations: 326.8 kB / 1.225 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.9348, allocations: 8.469 kB / 1.225 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.9349, allocations: 15.72 kB / 1.225 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007001/0.9356, allocations: 221.7 kB / 1.225 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.9356, allocations: 8.969 kB / 1.225 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.9356, allocations: 5.094 kB / 1.225 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.9356, allocations: 1.969 kB / 1.225 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000966/0.9366, allocations: 280.7 kB / 1.226 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.938, allocations: 0.5776 MB / 1.226 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.9386, allocations: 157.8 kB / 1.226 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.939, allocations: 150.6 kB / 1.226 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009383/0.94, allocations: 0.5498 MB / 1.227 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.94, allocations: 31.94 kB / 1.227 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.94, allocations: 0 / 1.227 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001744/0.9418, allocations: 491.4 kB / 1.227 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.9418, allocations: 53.06 kB / 1.228 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.9421, allocations: 264.2 kB / 1.228 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.9421, allocations: 29.7 kB / 1.228 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.9423, allocations: 148.5 kB / 1.228 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.9423, allocations: 53.16 kB / 1.228 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.9424, allocations: 37.78 kB / 1.228 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.9426, allocations: 344.9 kB / 1.228 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.9431, allocations: 147.4 kB / 1.229 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.9436, allocations: 155 kB / 1.229 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009652/0.9446, allocations: 288.8 kB / 1.229 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9446, allocations: 0 / 1.229 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00114/0.9457, allocations: 378.6 kB / 1.229 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.9457, allocations: 4.406 kB / 1.229 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9457, allocations: 0 / 1.229 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.9458, allocations: 1.094 kB / 1.229 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.9462, allocations: 70.58 kB / 1.229 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.9462, allocations: 2.188 kB / 1.229 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.9465, allocations: 52.67 kB / 1.229 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.9466, allocations: 15.48 kB / 1.229 GB, free: 9.902 MB / 0.9356 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.0001543/0.9467, allocations: 127.4 kB / 1.23 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.9468, allocations: 23.05 kB / 1.23 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.948, allocations: 380.7 kB / 1.23 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/0.948, allocations: 2.062 kB / 1.23 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.948, allocations: 3.984 kB / 1.23 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.948, allocations: 5.531 kB / 1.23 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.9484, allocations: 301.5 kB / 1.23 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.9484, allocations: 0 / 1.23 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.9488, allocations: 71.2 kB / 1.23 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9488, allocations: 0 / 1.23 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.9488, allocations: 3.984 kB / 1.23 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.9488, allocations: 4 kB / 1.23 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9488, allocations: 0 / 1.23 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.9499, allocations: 447 kB / 1.231 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.9501, allocations: 128.9 kB / 1.231 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.9501, allocations: 0 / 1.231 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.9505, allocations: 35.95 kB / 1.231 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.9505, allocations: 19.97 kB / 1.231 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.9506, allocations: 15.86 kB / 1.231 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001824/0.9507, allocations: 183.1 kB / 1.231 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.9507, allocations: 4 kB / 1.231 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003652/0.9511, allocations: 71.83 kB / 1.231 GB, free: 8.25 MB / 0.9356 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.0002413/0.9513, allocations: 131.1 kB / 1.231 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.9524, allocations: 311.6 kB / 1.232 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9524, allocations: 0 / 1.232 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.953, allocations: 151.9 kB / 1.232 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.9534, allocations: 38.81 kB / 1.232 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.9546, allocations: 0.5341 MB / 1.232 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.9549, allocations: 0.7435 MB / 1.233 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.9551, allocations: 39.28 kB / 1.233 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.9551, allocations: 0 / 1.233 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.00656/0.9616, allocations: 3.757 MB / 1.237 GB, free: 2.516 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches