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.0009919/0.0009919, allocations: 83.59 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.0009651/0.0009651, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9923/0.9923, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.98/1.98, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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 3.877e-06/3.877e-06, allocations: 4 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.841e-05/4.229e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004093/0.004135, allocations: 2.208 MB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005994/0.01013, allocations: 4.216 MB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.01035, allocations: 7.938 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.01145, allocations: 177.5 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.01174, allocations: 85.66 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.01313, allocations: 334.1 kB / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008997/0.01403, allocations: 469 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.01421, allocations: 32.91 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.01458, allocations: 183.6 kB / 0.8191 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.01482, allocations: 129.2 kB / 0.8192 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.01488, allocations: 24 kB / 0.8192 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007573/0.01564, allocations: 331.4 kB / 0.8195 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.01578, allocations: 124.1 kB / 0.8196 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.01593, allocations: 108.2 kB / 0.8197 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009417/0.01687, allocations: 0.5412 MB / 0.8203 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.01687, allocations: 1.344 kB / 0.8203 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.01687, allocations: 0 / 0.8203 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.01689, allocations: 4 kB / 0.8203 GB, free: 8.805 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.001436/0.01832, allocations: 0.8285 MB / 0.8211 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.01838, allocations: 8.031 kB / 0.8211 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.01944, allocations: 201.4 kB / 0.8213 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007353/0.02017, allocations: 322.5 kB / 0.8216 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.02019, allocations: 4.562 kB / 0.8216 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.02024, allocations: 12.38 kB / 0.8216 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.0207, allocations: 176.7 kB / 0.8218 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.02072, allocations: 0 / 0.8218 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.02074, allocations: 5.875 kB / 0.8218 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.02075, allocations: 0 / 0.8218 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.021, allocations: 73.83 kB / 0.8218 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.02224, allocations: 0.5875 MB / 0.8224 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.02246, allocations: 75.03 kB / 0.8225 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.0226, allocations: 51.66 kB / 0.8225 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.02268, allocations: 23.97 kB / 0.8226 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.02271, allocations: 37.39 kB / 0.8226 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 2.965e-06/0.02271, allocations: 0 / 0.8226 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0005858/0.0233, allocations: 219.3 kB / 0.8228 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.02334, allocations: 55.34 kB / 0.8229 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.02383, allocations: 458.7 kB / 0.8233 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.02386, allocations: 25.7 kB / 0.8233 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.02404, allocations: 255.2 kB / 0.8236 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.0241, allocations: 43.62 kB / 0.8236 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.02421, allocations: 59.34 kB / 0.8237 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.02442, allocations: 0.5313 MB / 0.8242 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.02461, allocations: 97.91 kB / 0.8243 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.02479, allocations: 102.1 kB / 0.8244 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.0251, allocations: 172.3 kB / 0.8245 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.0251, allocations: 3.938 kB / 0.8245 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000536/0.02564, allocations: 321 kB / 0.8248 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.0257, allocations: 37.69 kB / 0.8249 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.0257, allocations: 4 kB / 0.8249 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.02573, allocations: 0 / 0.8249 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.02606, allocations: 59.94 kB / 0.8249 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.02606, allocations: 0 / 0.8249 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.02628, allocations: 35.77 kB / 0.825 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.02631, allocations: 15.92 kB / 0.825 GB, free: 3.746 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 0.0001387/0.02645, allocations: 164.5 kB / 0.8252 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.02653, allocations: 43.72 kB / 0.8252 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/0.0273, allocations: 189.1 kB / 0.8254 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.0273, allocations: 4 kB / 0.8254 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.02731, allocations: 0 / 0.8254 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.02731, allocations: 3.938 kB / 0.8254 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.02769, allocations: 276.4 kB / 0.8256 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.02769, allocations: 4 kB / 0.8256 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.02793, allocations: 39.95 kB / 0.8257 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.02794, allocations: 4 kB / 0.8257 GB, free: 2.984 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/0.02796, allocations: 7.984 kB / 0.8257 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.02796, allocations: 0 / 0.8257 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.02797, allocations: 3.984 kB / 0.8257 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.02841, allocations: 334.5 kB / 0.826 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.02856, allocations: 67.55 kB / 0.8261 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.02861, allocations: 4 kB / 0.8261 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.02883, allocations: 19.98 kB / 0.8261 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.02891, allocations: 23.97 kB / 0.8261 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.02893, allocations: 7.984 kB / 0.8261 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003072/0.02924, allocations: 295 kB / 0.8264 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3e-07/0.02924, allocations: 0 / 0.8264 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004694/0.02971, allocations: 127.8 kB / 0.8265 GB, free: 2.094 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.0003084/0.03002, allocations: 179.1 kB / 0.8267 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.03038, allocations: 276.6 kB / 0.827 GB, free: 1.617 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.03039, allocations: 4 kB / 0.827 GB, free: 1.613 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.03049, allocations: 71.58 kB / 0.827 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.03083, allocations: 67.92 kB / 0.8271 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.03188, allocations: 0.5998 MB / 0.8277 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.805e-05/0.03195, allocations: 104.3 kB / 0.8278 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001501/0.0321, allocations: 57.91 kB / 0.8279 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.03219, allocations: 32.48 kB / 0.8279 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of SimCode: time 1.192e-06/0.03219, allocations: 0 / 0.8279 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of Templates: time 0.008188/0.04038, allocations: 5.761 MB / 0.8335 GB, free: 10.96 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: 5.5167107242159545]