Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0009859/0.0009859, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009701/0.0009701, allocations: 161 kB / 24.17 MB, free: 328 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.9144/0.9144, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.817/1.817, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.EN12975HeatLoss,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.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,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.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.973e-05, allocations: 6.75 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002162/0.002182, allocations: 1.934 MB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003066/0.005247, allocations: 3.748 MB / 0.7656 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.005316, allocations: 4.875 kB / 0.7656 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.005884, allocations: 187.3 kB / 0.7657 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.006019, allocations: 79.45 kB / 0.7658 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.027e-05/0.006099, allocations: 51.88 kB / 0.7659 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.006535, allocations: 282 kB / 0.7661 GB, free: 384 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.375e-05/0.006609, allocations: 22.44 kB / 0.7662 GB, free: 360 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.006733, allocations: 107.7 kB / 0.7663 GB, free: 252 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.006824, allocations: 65.27 kB / 0.7663 GB, free: 188 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.006842, allocations: 8 kB / 0.7663 GB, free: 180 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.006904, allocations: 23.97 kB / 0.7664 GB, free: 156 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.006958, allocations: 64.42 kB / 0.7664 GB, free: 92 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.007002, allocations: 55.84 kB / 0.7665 GB, free: 36 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.007183, allocations: 164 kB / 0.7666 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.007184, allocations: 0.6562 kB / 0.7666 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.007185, allocations: 0 / 0.7666 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.007188, allocations: 1.125 kB / 0.7666 GB, free: 15.88 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.0004796/0.007668, allocations: 427.4 kB / 0.767 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.007696, allocations: 14.47 kB / 0.7671 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.007902, allocations: 44.89 kB / 0.7671 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.008069, allocations: 197.9 kB / 0.7673 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.008077, allocations: 7.5 kB / 0.7673 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.008091, allocations: 4.375 kB / 0.7673 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.008235, allocations: 105.6 kB / 0.7674 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.008242, allocations: 4.188 kB / 0.7674 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.008253, allocations: 4.125 kB / 0.7674 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.008278, allocations: 11.98 kB / 0.7674 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.304e-05/0.008331, allocations: 21.86 kB / 0.7674 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.008673, allocations: 239.4 kB / 0.7677 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.008787, allocations: 79.83 kB / 0.7677 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/0.00883, allocations: 32.84 kB / 0.7678 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.008843, allocations: 0 / 0.7678 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.008862, allocations: 38.5 kB / 0.7678 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.008863, allocations: 1.281 kB / 0.7678 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0001731/0.009036, allocations: 101.9 kB / 0.7679 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.009063, allocations: 60 kB / 0.768 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.009178, allocations: 235 kB / 0.7682 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.009193, allocations: 26.33 kB / 0.7682 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.009233, allocations: 112.6 kB / 0.7683 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.009263, allocations: 44.34 kB / 0.7684 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.009304, allocations: 29.69 kB / 0.7684 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.009388, allocations: 343.5 kB / 0.7687 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.009414, allocations: 12.52 kB / 0.7687 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.009442, allocations: 13.5 kB / 0.7687 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.232e-05/0.009504, allocations: 46.16 kB / 0.7688 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009506, allocations: 0 / 0.7688 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.92e-05/0.009605, allocations: 90.48 kB / 0.7689 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.009616, allocations: 8 kB / 0.7689 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.00962, allocations: 0 / 0.7689 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.009628, allocations: 0.5 kB / 0.7689 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.009737, allocations: 24.58 kB / 0.7689 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.009739, allocations: 0.5938 kB / 0.7689 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.009796, allocations: 24.53 kB / 0.7689 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.009803, allocations: 0 / 0.7689 GB, free: 13.38 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 6.724e-05/0.009871, allocations: 121.2 kB / 0.769 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.0099, allocations: 25.16 kB / 0.7691 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.009933, allocations: 29.8 kB / 0.7691 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.009937, allocations: 7.938 kB / 0.7691 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.009939, allocations: 0.5 kB / 0.7691 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.009943, allocations: 5.438 kB / 0.7691 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.01007, allocations: 121.8 kB / 0.7692 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01007, allocations: 0 / 0.7692 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.01015, allocations: 23.98 kB / 0.7693 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.01015, allocations: 2.438 kB / 0.7693 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.01016, allocations: 3.984 kB / 0.7693 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01016, allocations: 7.875 kB / 0.7693 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01016, allocations: 4 kB / 0.7693 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.01028, allocations: 179.4 kB / 0.7694 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.01032, allocations: 31.78 kB / 0.7695 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.01034, allocations: 6.156 kB / 0.7695 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.01041, allocations: 11.92 kB / 0.7695 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.01044, allocations: 11.98 kB / 0.7695 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.01045, allocations: 3.984 kB / 0.7695 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.01051, allocations: 84.64 kB / 0.7696 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01051, allocations: 1.062 kB / 0.7696 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000156/0.01066, allocations: 43.95 kB / 0.7696 GB, free: 12.62 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 9.994e-05/0.01076, allocations: 85.89 kB / 0.7697 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.01087, allocations: 61.38 kB / 0.7698 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01087, allocations: 2.75 kB / 0.7698 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/0.01092, allocations: 39.66 kB / 0.7698 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.01114, allocations: 62.06 kB / 0.7699 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.01176, allocations: 419 kB / 0.7703 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.836e-05/0.01181, allocations: 87.81 kB / 0.7703 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.576e-05/0.01188, allocations: 26.62 kB / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.012, allocations: 87.33 kB / 0.7705 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.012, allocations: 1.781 kB / 0.7705 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of Templates: time 0.004173/0.01617, allocations: 2.748 MB / 0.7731 GB, free: 9.156 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.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.803901931736618]