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.00107/0.00107, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001162/0.001162, allocations: 169 kB / 24.28 MB, free: 280 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.9531/0.9531, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.838/1.838, allocations: 377.8 MB / 0.6239 GB, free: 8.512 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.553e-06/1.553e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.511e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002491/0.002516, allocations: 2.092 MB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003981/0.006498, allocations: 4.184 MB / 0.8177 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.006605, allocations: 7.875 kB / 0.8177 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.007283, allocations: 189.2 kB / 0.8178 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.619e-05/0.007369, allocations: 70.55 kB / 0.8179 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.007807, allocations: 308.3 kB / 0.8182 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004699/0.008277, allocations: 396.2 kB / 0.8186 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.008385, allocations: 33.5 kB / 0.8186 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.00853, allocations: 155.7 kB / 0.8188 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.008805, allocations: 108.7 kB / 0.8189 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.00883, allocations: 18.34 kB / 0.8189 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.009174, allocations: 311.4 kB / 0.8192 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.009263, allocations: 103.7 kB / 0.8193 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.009346, allocations: 91.75 kB / 0.8194 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.009782, allocations: 0.5061 MB / 0.8199 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.009784, allocations: 0 / 0.8199 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.31e-07/0.009785, allocations: 0.8125 kB / 0.8199 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.00979, allocations: 0 / 0.8199 GB, free: 9.52 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.0007447/0.01053, allocations: 0.771 MB / 0.8206 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.01057, allocations: 8.969 kB / 0.8206 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.01082, allocations: 85.48 kB / 0.8207 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.01118, allocations: 284.9 kB / 0.821 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.01119, allocations: 4.375 kB / 0.821 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.01121, allocations: 13.38 kB / 0.821 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.01144, allocations: 131.9 kB / 0.8211 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.01145, allocations: 192 / 0.8211 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.01147, allocations: 4.125 kB / 0.8211 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.01147, allocations: 5.031 kB / 0.8211 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.01158, allocations: 39.91 kB / 0.8212 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.01212, allocations: 0.4898 MB / 0.8217 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.292e-05/0.01221, allocations: 54.98 kB / 0.8217 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.963e-05/0.01227, allocations: 32.86 kB / 0.8217 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.01231, allocations: 15.98 kB / 0.8217 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.01233, allocations: 41.39 kB / 0.8218 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.01233, allocations: 1.094 kB / 0.8218 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0003101/0.01264, allocations: 145.7 kB / 0.8219 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.01267, allocations: 52.06 kB / 0.822 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.01321, allocations: 446 kB / 0.8224 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.01323, allocations: 25.7 kB / 0.8224 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01333, allocations: 238.7 kB / 0.8227 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.01336, allocations: 47.64 kB / 0.8227 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.01341, allocations: 43.34 kB / 0.8227 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.01354, allocations: 0.5352 MB / 0.8233 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/0.01362, allocations: 65.67 kB / 0.8233 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-05/0.01369, allocations: 63.38 kB / 0.8234 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.01383, allocations: 112.9 kB / 0.8235 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01384, allocations: 0 / 0.8235 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002436/0.01408, allocations: 245.3 kB / 0.8237 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.01411, allocations: 45.69 kB / 0.8238 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.01412, allocations: 1.375 kB / 0.8238 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01413, allocations: 0 / 0.8238 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.01426, allocations: 39.89 kB / 0.8238 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01427, allocations: 4 kB / 0.8238 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-05/0.01436, allocations: 23.88 kB / 0.8238 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.01437, allocations: 7.984 kB / 0.8238 GB, free: 5.215 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 8.311e-05/0.01445, allocations: 164.5 kB / 0.824 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.0145, allocations: 43.77 kB / 0.824 GB, free: 5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.01471, allocations: 148.9 kB / 0.8242 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.01472, allocations: 0 / 0.8242 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01472, allocations: 4 kB / 0.8242 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01472, allocations: 3.984 kB / 0.8242 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.01493, allocations: 264.3 kB / 0.8244 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01493, allocations: 0 / 0.8244 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-05/0.01503, allocations: 27.97 kB / 0.8245 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01503, allocations: 4 kB / 0.8245 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01504, allocations: 3.984 kB / 0.8245 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.01504, allocations: 0 / 0.8245 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01504, allocations: 0 / 0.8245 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.01526, allocations: 292.2 kB / 0.8248 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.01532, allocations: 47.73 kB / 0.8248 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.01534, allocations: 7.984 kB / 0.8248 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.01544, allocations: 15.98 kB / 0.8248 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.01549, allocations: 19.91 kB / 0.8248 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.0155, allocations: 4 kB / 0.8249 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001597/0.01566, allocations: 283.1 kB / 0.8251 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01566, allocations: 0 / 0.8251 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002705/0.01593, allocations: 119.8 kB / 0.8252 GB, free: 3.723 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.0002263/0.01616, allocations: 195 kB / 0.8254 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.01641, allocations: 208.7 kB / 0.8256 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01641, allocations: 0 / 0.8256 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.094e-05/0.01648, allocations: 47.59 kB / 0.8257 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.01678, allocations: 72.19 kB / 0.8257 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.01762, allocations: 0.5536 MB / 0.8263 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.01768, allocations: 99.94 kB / 0.8264 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.01779, allocations: 45.91 kB / 0.8264 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.01784, allocations: 28.48 kB / 0.8264 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.01784, allocations: 0 / 0.8264 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of Templates: time 0.006592/0.02444, allocations: 5.135 MB / 0.8315 GB, free: 13.37 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: 5.1890662799123675]