Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009308/0.0009308, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000959/0.000959, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9114/0.9114, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.83/1.83, allocations: 377.9 MB / 0.6239 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.298e-05, allocations: 3.469 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002221/0.002234, allocations: 2.086 MB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003386/0.00562, allocations: 4.137 MB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.0057, allocations: 7.938 kB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005775/0.006277, allocations: 194 kB / 0.8183 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.006355, allocations: 65.88 kB / 0.8183 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.006792, allocations: 316.8 kB / 0.8186 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.00719, allocations: 401.5 kB / 0.819 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.621e-05/0.007277, allocations: 28.58 kB / 0.819 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.007409, allocations: 148.5 kB / 0.8192 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.00751, allocations: 109.9 kB / 0.8193 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.007533, allocations: 16 kB / 0.8193 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.007848, allocations: 307.4 kB / 0.8196 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.007936, allocations: 111.6 kB / 0.8197 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005082/0.008444, allocations: 95.69 kB / 0.8198 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.008882, allocations: 0.4906 MB / 0.8203 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.008883, allocations: 2.781 kB / 0.8203 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.71e-07/0.008884, allocations: 0 / 0.8203 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.008887, allocations: 0 / 0.8203 GB, free: 8.984 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006829/0.00957, allocations: 0.7743 MB / 0.821 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.009601, allocations: 8.031 kB / 0.821 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.009825, allocations: 85.73 kB / 0.8211 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.01003, allocations: 254.8 kB / 0.8214 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.01004, allocations: 5.406 kB / 0.8214 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.01005, allocations: 12.38 kB / 0.8214 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.01024, allocations: 129.3 kB / 0.8215 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-06/0.01025, allocations: 192 / 0.8215 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.01026, allocations: 4.125 kB / 0.8215 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.01026, allocations: 4 kB / 0.8215 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.973e-05/0.01033, allocations: 38.3 kB / 0.8216 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.01078, allocations: 438.4 kB / 0.822 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/0.01085, allocations: 42.98 kB / 0.822 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.01089, allocations: 32.33 kB / 0.822 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.01093, allocations: 16.7 kB / 0.8221 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.01094, allocations: 41.39 kB / 0.8221 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.01095, allocations: 3.75 kB / 0.8221 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002316/0.01118, allocations: 141.7 kB / 0.8222 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.0112, allocations: 51.41 kB / 0.8223 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.01143, allocations: 430.5 kB / 0.8227 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.01144, allocations: 33.64 kB / 0.8227 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.01155, allocations: 238.7 kB / 0.823 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.01158, allocations: 39.67 kB / 0.823 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.01163, allocations: 55.28 kB / 0.823 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.01177, allocations: 0.5312 MB / 0.8236 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.01183, allocations: 59.06 kB / 0.8236 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-05/0.01188, allocations: 53.69 kB / 0.8237 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.01198, allocations: 111.5 kB / 0.8238 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01199, allocations: 0.9688 kB / 0.8238 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002007/0.01219, allocations: 224.8 kB / 0.824 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.01221, allocations: 46.78 kB / 0.824 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.01222, allocations: 0 / 0.824 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.01223, allocations: 0 / 0.824 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.01234, allocations: 42.77 kB / 0.8241 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.01235, allocations: 0 / 0.8241 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.094e-05/0.01243, allocations: 27.88 kB / 0.8241 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.01244, allocations: 4 kB / 0.8241 GB, free: 4.836 MB / 0.7761 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 7.79e-05/0.01252, allocations: 164.5 kB / 0.8243 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.01255, allocations: 37.11 kB / 0.8243 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.01274, allocations: 140.8 kB / 0.8244 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.01274, allocations: 4.594 kB / 0.8244 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01274, allocations: 0.9688 kB / 0.8244 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.01274, allocations: 0 / 0.8244 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.01291, allocations: 201 kB / 0.8246 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01291, allocations: 4.688 kB / 0.8246 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.013, allocations: 35.97 kB / 0.8247 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.013, allocations: 3.938 kB / 0.8247 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01301, allocations: 7.984 kB / 0.8247 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01302, allocations: 4 kB / 0.8247 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01302, allocations: 0 / 0.8247 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.01319, allocations: 271.5 kB / 0.8249 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.01325, allocations: 51.67 kB / 0.825 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.01327, allocations: 4 kB / 0.825 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.01336, allocations: 15.98 kB / 0.825 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.0134, allocations: 15.97 kB / 0.825 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.01341, allocations: 7.984 kB / 0.825 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001166/0.01352, allocations: 271 kB / 0.8253 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01352, allocations: 0 / 0.8253 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002583/0.01378, allocations: 123.8 kB / 0.8254 GB, free: 3.445 MB / 0.7761 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 (11): * Single equations (assignments): 11 * 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.0001987/0.01398, allocations: 183 kB / 0.8256 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.01417, allocations: 204.6 kB / 0.8258 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01417, allocations: 0 / 0.8258 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.295e-05/0.01423, allocations: 39.61 kB / 0.8258 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.01449, allocations: 78.84 kB / 0.8259 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.01522, allocations: 0.5536 MB / 0.8264 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.413e-05/0.01527, allocations: 95.95 kB / 0.8265 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.476e-05/0.01536, allocations: 33.92 kB / 0.8266 GB, free: 2.188 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/0.01578, allocations: 126.2 kB / 0.8267 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of SimCode: time 7.91e-07/0.01578, allocations: 8 kB / 0.8267 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of Templates: time 0.006556/0.02233, allocations: 5.639 MB / 0.8322 GB, free: 12.52 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.886499094311148]