Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0009988/0.0009988, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009463/0.0009463, allocations: 161 kB / 23.82 MB, free: 0.75 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.9095/0.9095, allocations: 177.2 MB / 204.2 MB, free: 5.582 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.771/1.771, allocations: 377.9 MB / 0.6236 GB, free: 8.527 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.ASHRAESolarGain,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.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,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.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0.875 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.894e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002395/0.002414, allocations: 2.209 MB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003956/0.00637, allocations: 4.215 MB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.006492, allocations: 3.938 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007598/0.007252, allocations: 186 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.007394, allocations: 81.88 kB / 0.8181 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.008026, allocations: 336.7 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.008607, allocations: 469.1 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.008723, allocations: 28.92 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.008931, allocations: 192 kB / 0.8191 GB, free: 10 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.009067, allocations: 132.7 kB / 0.8192 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.009097, allocations: 20.91 kB / 0.8192 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.009554, allocations: 331.4 kB / 0.8195 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.009656, allocations: 111.7 kB / 0.8196 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.296e-05/0.009749, allocations: 115.4 kB / 0.8197 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.01028, allocations: 0.5373 MB / 0.8203 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01029, allocations: 0 / 0.8203 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.02e-07/0.01029, allocations: 0 / 0.8203 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.01029, allocations: 4 kB / 0.8203 GB, free: 8.77 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008385/0.01113, allocations: 0.8096 MB / 0.8211 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.01117, allocations: 12.03 kB / 0.8211 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004976/0.01167, allocations: 155.7 kB / 0.8212 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.01195, allocations: 279.8 kB / 0.8215 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.01196, allocations: 13.34 kB / 0.8215 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.01198, allocations: 8.375 kB / 0.8215 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.01227, allocations: 172.4 kB / 0.8217 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.01228, allocations: 1.875 kB / 0.8217 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.0123, allocations: 7.984 kB / 0.8217 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.0123, allocations: 4 kB / 0.8217 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.01244, allocations: 71.95 kB / 0.8218 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.01317, allocations: 0.5787 MB / 0.8223 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.01331, allocations: 82.97 kB / 0.8224 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-05/0.01339, allocations: 57.34 kB / 0.8225 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.01344, allocations: 16 kB / 0.8225 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.01346, allocations: 37.39 kB / 0.8225 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.01346, allocations: 0 / 0.8225 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0004347/0.01389, allocations: 206.2 kB / 0.8227 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.01392, allocations: 59.41 kB / 0.8228 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.01422, allocations: 458.7 kB / 0.8232 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.01424, allocations: 29.7 kB / 0.8232 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.01435, allocations: 251.2 kB / 0.8235 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.01439, allocations: 47.62 kB / 0.8235 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.01446, allocations: 63.28 kB / 0.8236 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.01459, allocations: 0.5313 MB / 0.8241 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.01472, allocations: 97.89 kB / 0.8242 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.01482, allocations: 102.1 kB / 0.8243 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.01501, allocations: 172.4 kB / 0.8244 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.01502, allocations: 3.938 kB / 0.8244 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003365/0.01535, allocations: 321 kB / 0.8248 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.01539, allocations: 37.69 kB / 0.8248 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01539, allocations: 0 / 0.8248 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01541, allocations: 4 kB / 0.8248 GB, free: 3.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.0156, allocations: 47.89 kB / 0.8248 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.01561, allocations: 8 kB / 0.8248 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.01574, allocations: 43.75 kB / 0.8249 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.01575, allocations: 7.984 kB / 0.8249 GB, free: 3.805 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 (18): * Single equations (assignments): 17 * 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 9.071e-05/0.01584, allocations: 164.5 kB / 0.8251 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.01589, allocations: 43.77 kB / 0.8251 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.01617, allocations: 197 kB / 0.8253 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01617, allocations: 8 kB / 0.8253 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01617, allocations: 0 / 0.8253 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01618, allocations: 0 / 0.8253 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.01639, allocations: 264.5 kB / 0.8255 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.0164, allocations: 7.938 kB / 0.8256 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.01653, allocations: 43.94 kB / 0.8256 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01653, allocations: 0 / 0.8256 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.01654, allocations: 4 kB / 0.8256 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01654, allocations: 4 kB / 0.8256 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.01654, allocations: 3.984 kB / 0.8256 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.01684, allocations: 329.7 kB / 0.8259 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.01691, allocations: 63.56 kB / 0.826 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.01695, allocations: 4 kB / 0.826 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.01706, allocations: 23.97 kB / 0.826 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.01713, allocations: 15.97 kB / 0.826 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.01714, allocations: 7.984 kB / 0.826 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001823/0.01732, allocations: 307 kB / 0.8263 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01732, allocations: 0 / 0.8263 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003259/0.01765, allocations: 127.8 kB / 0.8264 GB, free: 2.152 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 (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.000244/0.01789, allocations: 183 kB / 0.8266 GB, free: 1.965 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003288/0.01822, allocations: 267.3 kB / 0.8269 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01822, allocations: 4 kB / 0.8269 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.01832, allocations: 75.58 kB / 0.8269 GB, free: 1.602 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.01863, allocations: 77.84 kB / 0.827 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000957/0.01959, allocations: 0.6038 MB / 0.8276 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.983e-05/0.01965, allocations: 104.3 kB / 0.8277 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.01979, allocations: 49.91 kB / 0.8278 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.01987, allocations: 36.42 kB / 0.8278 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of SimCode: time 7.91e-07/0.01987, allocations: 0 / 0.8278 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of Templates: time 0.007401/0.02727, allocations: 6.226 MB / 0.8339 GB, free: 10.56 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.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.91037891805172]