Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001365/0.001365, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001741/0.001741, allocations: 162.7 kB / 24.87 MB, free: 8.84 MB / 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.9294/0.9294, allocations: 177.2 MB / 205.3 MB, free: 5.508 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.809/1.809, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.8128 GB, free: 288 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.765e-05, allocations: 2.875 kB / 0.8128 GB, free: 284 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002939/0.002957, allocations: 1.904 MB / 0.8146 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004282/0.007238, allocations: 3.65 MB / 0.8182 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.007348, allocations: 0 / 0.8182 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007503/0.008098, allocations: 165.1 kB / 0.8184 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.008296, allocations: 89.86 kB / 0.8184 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.008429, allocations: 47.92 kB / 0.8185 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.008973, allocations: 284.7 kB / 0.8188 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.009073, allocations: 24 kB / 0.8188 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.009219, allocations: 91.78 kB / 0.8189 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.009345, allocations: 67.8 kB / 0.8189 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.009364, allocations: 4 kB / 0.8189 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.483e-05/0.009449, allocations: 31.92 kB / 0.819 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.902e-05/0.009518, allocations: 58.56 kB / 0.819 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.009585, allocations: 55.84 kB / 0.8191 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.009803, allocations: 155.3 kB / 0.8192 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.009805, allocations: 4 kB / 0.8192 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.009806, allocations: 0 / 0.8192 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.00981, allocations: 0 / 0.8192 GB, free: 9.676 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006464/0.01046, allocations: 0.5475 MB / 0.8198 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.01049, allocations: 12.03 kB / 0.8198 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.01078, allocations: 57.27 kB / 0.8198 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.011, allocations: 200.1 kB / 0.82 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.01101, allocations: 4.875 kB / 0.82 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.01103, allocations: 8.938 kB / 0.82 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.01124, allocations: 93.81 kB / 0.8201 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.01125, allocations: 192 / 0.8201 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.01126, allocations: 8.125 kB / 0.8201 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.01129, allocations: 10.56 kB / 0.8201 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.01138, allocations: 35.84 kB / 0.8202 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.01185, allocations: 348.2 kB / 0.8205 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.01199, allocations: 81.64 kB / 0.8206 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.592e-05/0.01206, allocations: 44.28 kB / 0.8206 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.01207, allocations: 9 kB / 0.8206 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.01209, allocations: 37.39 kB / 0.8207 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.0121, allocations: 0 / 0.8207 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0002865/0.01238, allocations: 118.9 kB / 0.8208 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.01241, allocations: 51.41 kB / 0.8208 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.01261, allocations: 297.1 kB / 0.8211 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.01263, allocations: 29.7 kB / 0.8211 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.01273, allocations: 187.5 kB / 0.8213 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.01277, allocations: 55.52 kB / 0.8214 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.01284, allocations: 39.08 kB / 0.8214 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.01298, allocations: 0.5156 MB / 0.8219 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/0.01303, allocations: 15.98 kB / 0.8219 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.01307, allocations: 8 kB / 0.8219 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.0132, allocations: 50.53 kB / 0.822 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.0132, allocations: 0 / 0.822 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001443/0.01335, allocations: 113.5 kB / 0.8221 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01336, allocations: 7.984 kB / 0.8221 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.01337, allocations: 4 kB / 0.8221 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.01337, allocations: 1.469 kB / 0.8221 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.0135, allocations: 27.92 kB / 0.8221 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.0135, allocations: 0 / 0.8221 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.01355, allocations: 12.95 kB / 0.8221 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.01356, allocations: 0 / 0.8221 GB, free: 6.512 MB / 0.7292 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 (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 prepare postOptimizeDAE: time 7.546e-05/0.01364, allocations: 161.7 kB / 0.8223 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.01367, allocations: 35.75 kB / 0.8223 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.01371, allocations: 30.89 kB / 0.8224 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01371, allocations: 0 / 0.8224 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.01371, allocations: 0 / 0.8224 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01372, allocations: 4.984 kB / 0.8224 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.01386, allocations: 157.1 kB / 0.8225 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.01387, allocations: 0 / 0.8225 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.819e-05/0.01394, allocations: 32.62 kB / 0.8226 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01395, allocations: 9.781 kB / 0.8226 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.01395, allocations: 3.938 kB / 0.8226 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01395, allocations: 0 / 0.8226 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01396, allocations: 4 kB / 0.8226 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.01414, allocations: 263.7 kB / 0.8228 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.01418, allocations: 33.17 kB / 0.8229 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.0142, allocations: 3.938 kB / 0.8229 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.01427, allocations: 12 kB / 0.8229 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.01431, allocations: 17.06 kB / 0.8229 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.01431, allocations: 3.938 kB / 0.8229 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.751e-05/0.01439, allocations: 193.1 kB / 0.8231 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01439, allocations: 0.6562 kB / 0.8231 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000176/0.01457, allocations: 43.89 kB / 0.8231 GB, free: 5.473 MB / 0.7292 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.0001013/0.01467, allocations: 116.4 kB / 0.8232 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.01478, allocations: 66.59 kB / 0.8233 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01478, allocations: 0 / 0.8233 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.01483, allocations: 39.66 kB / 0.8233 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.01508, allocations: 52.62 kB / 0.8234 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.0157, allocations: 405 kB / 0.8238 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.4e-05/0.01576, allocations: 83.81 kB / 0.8238 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.677e-05/0.01583, allocations: 21.48 kB / 0.8239 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.01594, allocations: 114.2 kB / 0.824 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of SimCode: time 9.71e-07/0.01594, allocations: 0 / 0.824 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of Templates: time 0.003892/0.01983, allocations: 2.626 MB / 0.8265 GB, free: 1.984 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.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.875501550734043]