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.001009/0.001009, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001063/0.001063, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9529/0.9529, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.835/1.835, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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.713e-06/1.713e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.583e-05, allocations: 2.969 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003728/0.003754, allocations: 2.185 MB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004962/0.008716, allocations: 4.164 MB / 0.819 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.008825, allocations: 7.938 kB / 0.819 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.009472, allocations: 177.7 kB / 0.8192 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.009596, allocations: 91.22 kB / 0.8193 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.01029, allocations: 342.4 kB / 0.8196 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.01094, allocations: 454.5 kB / 0.82 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.01106, allocations: 36.91 kB / 0.8201 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.01132, allocations: 188.5 kB / 0.8202 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.01151, allocations: 128.1 kB / 0.8204 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.01155, allocations: 20.56 kB / 0.8204 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005594/0.01211, allocations: 331.9 kB / 0.8207 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.01223, allocations: 120.8 kB / 0.8208 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.01234, allocations: 103.7 kB / 0.8209 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006979/0.01304, allocations: 0.549 MB / 0.8214 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.01305, allocations: 0.8125 kB / 0.8214 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.213e-06/0.01305, allocations: 0 / 0.8214 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.01305, allocations: 0 / 0.8214 GB, free: 8.562 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.001084/0.01414, allocations: 0.8216 MB / 0.8222 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.01417, allocations: 8.844 kB / 0.8223 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007661/0.01494, allocations: 156.7 kB / 0.8224 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.01528, allocations: 274.7 kB / 0.8227 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.01529, allocations: 8.562 kB / 0.8227 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.01532, allocations: 12.38 kB / 0.8227 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.01567, allocations: 158.7 kB / 0.8228 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01568, allocations: 0 / 0.8228 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.0157, allocations: 8 kB / 0.8228 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01571, allocations: 4.938 kB / 0.8228 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.01587, allocations: 70.77 kB / 0.8229 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009137/0.01679, allocations: 0.5029 MB / 0.8234 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.01695, allocations: 71.75 kB / 0.8235 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.366e-05/0.01704, allocations: 56.47 kB / 0.8235 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.01709, allocations: 19.98 kB / 0.8235 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.01711, allocations: 37.39 kB / 0.8236 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.01711, allocations: 1 kB / 0.8236 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0004392/0.01755, allocations: 186.6 kB / 0.8238 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.01758, allocations: 59.41 kB / 0.8238 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.01796, allocations: 446.5 kB / 0.8242 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.01799, allocations: 30.36 kB / 0.8243 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.01815, allocations: 259.1 kB / 0.8245 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.01819, allocations: 44.25 kB / 0.8246 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.0183, allocations: 66.75 kB / 0.8246 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.01847, allocations: 0.539 MB / 0.8252 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.0186, allocations: 77.91 kB / 0.8252 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.01872, allocations: 86.14 kB / 0.8253 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.01895, allocations: 147.9 kB / 0.8254 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01895, allocations: 0 / 0.8254 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004235/0.01937, allocations: 297.6 kB / 0.8257 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.01942, allocations: 45.69 kB / 0.8258 GB, free: 3.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01942, allocations: 0.5938 kB / 0.8258 GB, free: 3.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.01943, allocations: 1.562 kB / 0.8258 GB, free: 3.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.01969, allocations: 51.94 kB / 0.8258 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.01969, allocations: 0 / 0.8258 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.01988, allocations: 43.77 kB / 0.8259 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.01991, allocations: 7.984 kB / 0.8259 GB, free: 3.809 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.0001196/0.02003, allocations: 164.5 kB / 0.826 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/0.02011, allocations: 47.7 kB / 0.8261 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.02046, allocations: 177 kB / 0.8262 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.02046, allocations: 4 kB / 0.8263 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.02046, allocations: 0 / 0.8263 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02047, allocations: 0 / 0.8263 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.02075, allocations: 205.1 kB / 0.8264 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02076, allocations: 0 / 0.8264 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.02096, allocations: 51.88 kB / 0.8265 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.02096, allocations: 0 / 0.8265 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.02098, allocations: 7.938 kB / 0.8265 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.02099, allocations: 4 kB / 0.8265 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02099, allocations: 4 kB / 0.8265 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.02134, allocations: 311.6 kB / 0.8268 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.02144, allocations: 55.62 kB / 0.8269 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.02149, allocations: 11.94 kB / 0.8269 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.02165, allocations: 19.97 kB / 0.8269 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.0217, allocations: 23.97 kB / 0.8269 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.02171, allocations: 3.984 kB / 0.8269 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001387/0.02185, allocations: 283 kB / 0.8272 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02185, allocations: 7.938 kB / 0.8272 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003139/0.02217, allocations: 135.7 kB / 0.8273 GB, free: 2.266 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.000239/0.02241, allocations: 175.1 kB / 0.8275 GB, free: 2.086 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002747/0.02268, allocations: 254.2 kB / 0.8277 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02268, allocations: 0 / 0.8277 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.02276, allocations: 59.64 kB / 0.8278 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.02306, allocations: 68.17 kB / 0.8279 GB, free: 1.688 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008503/0.02391, allocations: 0.6114 MB / 0.8285 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.864e-05/0.02397, allocations: 104.3 kB / 0.8286 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.02409, allocations: 33.94 kB / 0.8286 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.02426, allocations: 134.1 kB / 0.8287 GB, free: 0.7578 MB / 0.7761 GB Notification: Performance of SimCode: time 8.61e-07/0.02426, allocations: 0 / 0.8287 GB, free: 0.7578 MB / 0.7761 GB Notification: Performance of Templates: time 0.007837/0.0321, allocations: 6.369 MB / 0.8349 GB, free: 10.48 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.949859186075628]