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.0009547/0.0009547, allocations: 78.66 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.001004/0.001004, allocations: 177 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.9586/0.9586, allocations: 177.1 MB / 204.5 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.875/1.875, allocations: 377.9 MB / 0.624 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.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.723e-06/1.723e-06, allocations: 0 / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.897e-05, allocations: 3.516 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002703/0.002732, allocations: 2.188 MB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004276/0.007008, allocations: 4.172 MB / 0.8182 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.007156, allocations: 12.69 kB / 0.8182 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007343/0.00789, allocations: 177.2 kB / 0.8184 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.008069, allocations: 86.5 kB / 0.8185 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.00877, allocations: 342.3 kB / 0.8188 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006327/0.009403, allocations: 459.5 kB / 0.8192 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.009541, allocations: 32.91 kB / 0.8193 GB, free: 10 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.009831, allocations: 188.1 kB / 0.8195 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.009985, allocations: 128.8 kB / 0.8196 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.01002, allocations: 20 kB / 0.8196 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.01052, allocations: 336.4 kB / 0.8199 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.01063, allocations: 111.7 kB / 0.82 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.01072, allocations: 112.5 kB / 0.8201 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.01129, allocations: 0.5489 MB / 0.8207 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01129, allocations: 1.094 kB / 0.8207 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01129, allocations: 0 / 0.8207 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.0113, allocations: 0 / 0.8207 GB, free: 8.578 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.0008777/0.01218, allocations: 0.8178 MB / 0.8215 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.01222, allocations: 12.03 kB / 0.8215 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005671/0.01278, allocations: 156.7 kB / 0.8216 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.01306, allocations: 271.8 kB / 0.8219 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.01307, allocations: 5.156 kB / 0.8219 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.0131, allocations: 12.38 kB / 0.8219 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.01338, allocations: 164.8 kB / 0.8221 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.01338, allocations: 1.625 kB / 0.8221 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.0134, allocations: 4 kB / 0.8221 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.0134, allocations: 4 kB / 0.8221 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.997e-05/0.0135, allocations: 59.3 kB / 0.8221 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007732/0.01428, allocations: 0.5147 MB / 0.8226 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.01441, allocations: 71.41 kB / 0.8227 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.504e-05/0.01448, allocations: 55.59 kB / 0.8228 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.01452, allocations: 16 kB / 0.8228 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.01454, allocations: 41.38 kB / 0.8228 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 2.695e-06/0.01455, allocations: 3.984 kB / 0.8228 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0003139/0.01486, allocations: 185.5 kB / 0.823 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.01489, allocations: 55.41 kB / 0.823 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.01516, allocations: 450.5 kB / 0.8235 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.0152, allocations: 33.69 kB / 0.8235 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.01532, allocations: 259.1 kB / 0.8237 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.01535, allocations: 43.64 kB / 0.8238 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.425e-05/0.01542, allocations: 63.31 kB / 0.8238 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.01557, allocations: 0.5312 MB / 0.8244 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.01567, allocations: 77.91 kB / 0.8244 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.01575, allocations: 86.14 kB / 0.8245 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.01591, allocations: 148.3 kB / 0.8247 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01591, allocations: 0 / 0.8247 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002786/0.01619, allocations: 302.1 kB / 0.825 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.01623, allocations: 44.02 kB / 0.825 GB, free: 3.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01623, allocations: 4 kB / 0.825 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.01624, allocations: 0 / 0.825 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.01642, allocations: 47.95 kB / 0.825 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.01642, allocations: 3.938 kB / 0.8251 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.01654, allocations: 43.75 kB / 0.8251 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.01655, allocations: 4 kB / 0.8251 GB, free: 3.828 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.0001263/0.01668, allocations: 168.6 kB / 0.8253 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.01673, allocations: 47.7 kB / 0.8253 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.01698, allocations: 173 kB / 0.8255 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.01699, allocations: 8 kB / 0.8255 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01699, allocations: 0 / 0.8255 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01699, allocations: 7.984 kB / 0.8255 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.01719, allocations: 209 kB / 0.8257 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.0172, allocations: 0 / 0.8257 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.01733, allocations: 47.95 kB / 0.8257 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01733, allocations: 0 / 0.8257 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01734, allocations: 7.922 kB / 0.8257 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01734, allocations: 0 / 0.8257 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01734, allocations: 4 kB / 0.8257 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.01759, allocations: 307.5 kB / 0.826 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.01766, allocations: 67.61 kB / 0.8261 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.01769, allocations: 7.938 kB / 0.8261 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.01781, allocations: 19.97 kB / 0.8261 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.01786, allocations: 19.97 kB / 0.8261 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.01787, allocations: 4 kB / 0.8261 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000146/0.01801, allocations: 283 kB / 0.8264 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01801, allocations: 0 / 0.8264 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003626/0.01838, allocations: 131.8 kB / 0.8265 GB, free: 2.289 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.0002513/0.01863, allocations: 183.1 kB / 0.8267 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.0189, allocations: 254.4 kB / 0.827 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.0189, allocations: 0 / 0.827 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.01897, allocations: 59.59 kB / 0.827 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.01929, allocations: 76.58 kB / 0.8271 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009777/0.02027, allocations: 0.601 MB / 0.8277 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.081e-05/0.02033, allocations: 104.3 kB / 0.8278 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.02046, allocations: 41.92 kB / 0.8278 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.02063, allocations: 134.1 kB / 0.8279 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.02063, allocations: 0 / 0.8279 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of Templates: time 0.008564/0.0292, allocations: 6.256 MB / 0.8341 GB, free: 10.61 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.9409045949578285]