Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.00127/0.00127, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001458/0.001458, allocations: 161 kB / 24.16 MB, free: 336 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.9166/0.9166, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.884/1.884, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.EN12975SolarGain,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.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,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.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.273e-05, allocations: 2.312 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002233/0.002246, allocations: 2.095 MB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003717/0.005963, allocations: 4.199 MB / 0.7662 GB, free: 364 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.865e-05/0.006052, allocations: 7.938 kB / 0.7662 GB, free: 356 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006271/0.006679, allocations: 184.6 kB / 0.7663 GB, free: 172 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.562e-05/0.006774, allocations: 78.06 kB / 0.7664 GB, free: 96 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.007309, allocations: 305.9 kB / 0.7667 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.007743, allocations: 399.5 kB / 0.7671 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.00783, allocations: 31.52 kB / 0.7671 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.007985, allocations: 163.6 kB / 0.7673 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.008094, allocations: 102.2 kB / 0.7674 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.008119, allocations: 16 kB / 0.7674 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.008499, allocations: 315.4 kB / 0.7677 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.00859, allocations: 103.7 kB / 0.7678 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.008669, allocations: 93.03 kB / 0.7679 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.009118, allocations: 0.4944 MB / 0.7684 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.00912, allocations: 0 / 0.7684 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.32e-07/0.009121, allocations: 4 kB / 0.7684 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.009125, allocations: 0.6562 kB / 0.7684 GB, free: 14.1 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006862/0.009811, allocations: 0.6294 MB / 0.769 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.00984, allocations: 15.97 kB / 0.769 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.01006, allocations: 72.84 kB / 0.7691 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.01028, allocations: 232.1 kB / 0.7693 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.01029, allocations: 12.31 kB / 0.7693 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.0103, allocations: 8.375 kB / 0.7693 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.0105, allocations: 130.1 kB / 0.7694 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.01051, allocations: 192 / 0.7694 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.01052, allocations: 4.125 kB / 0.7694 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.01053, allocations: 7.984 kB / 0.7694 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.289e-05/0.01059, allocations: 23.98 kB / 0.7695 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.01099, allocations: 304 kB / 0.7698 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.01107, allocations: 85.19 kB / 0.7698 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.01111, allocations: 25.69 kB / 0.7699 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.01115, allocations: 19.98 kB / 0.7699 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.01117, allocations: 35.78 kB / 0.7699 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.01117, allocations: 0 / 0.7699 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001895/0.01136, allocations: 102.7 kB / 0.77 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.01138, allocations: 51.41 kB / 0.7701 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.01158, allocations: 351.4 kB / 0.7704 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.0116, allocations: 30.61 kB / 0.7704 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.01165, allocations: 133 kB / 0.7706 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.01168, allocations: 46.25 kB / 0.7706 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.01173, allocations: 37.67 kB / 0.7706 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.01181, allocations: 350.7 kB / 0.771 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.01187, allocations: 60.52 kB / 0.771 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.882e-05/0.01192, allocations: 57.62 kB / 0.7711 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.01203, allocations: 118 kB / 0.7712 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01203, allocations: 3.812 kB / 0.7712 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001589/0.01219, allocations: 173 kB / 0.7714 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.01222, allocations: 45.62 kB / 0.7714 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01222, allocations: 4 kB / 0.7714 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.01223, allocations: 0 / 0.7714 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.01235, allocations: 31.95 kB / 0.7714 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.01236, allocations: 4 kB / 0.7714 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.01244, allocations: 27.81 kB / 0.7715 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.01245, allocations: 15.08 kB / 0.7715 GB, free: 10.72 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 (12): * Single equations (assignments): 11 * 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 7.421e-05/0.01252, allocations: 116.7 kB / 0.7716 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.01256, allocations: 23.92 kB / 0.7716 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.01271, allocations: 117 kB / 0.7717 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01272, allocations: 4 kB / 0.7717 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01272, allocations: 4 kB / 0.7717 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.01272, allocations: 3.594 kB / 0.7717 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.01288, allocations: 157.7 kB / 0.7719 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.01288, allocations: 0 / 0.7719 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.01298, allocations: 35.89 kB / 0.7719 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01298, allocations: 4 kB / 0.7719 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.01299, allocations: 4 kB / 0.7719 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01299, allocations: 3.938 kB / 0.7719 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01299, allocations: 0 / 0.7719 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.01314, allocations: 233.3 kB / 0.7722 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.0132, allocations: 39.75 kB / 0.7722 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.01322, allocations: 11.98 kB / 0.7722 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.01331, allocations: 15.92 kB / 0.7722 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.01335, allocations: 15.97 kB / 0.7722 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.01336, allocations: 4 kB / 0.7722 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.679e-05/0.01346, allocations: 148.6 kB / 0.7724 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01346, allocations: 0 / 0.7724 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002559/0.01371, allocations: 120.5 kB / 0.7725 GB, free: 9.633 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 (11): * Single equations (assignments): 11 * 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.0002195/0.01393, allocations: 169.3 kB / 0.7727 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.01413, allocations: 185.8 kB / 0.7728 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.01414, allocations: 5 kB / 0.7728 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.132e-05/0.01419, allocations: 45.86 kB / 0.7729 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.01443, allocations: 64.56 kB / 0.7729 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.01524, allocations: 0.5695 MB / 0.7735 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.644e-05/0.01529, allocations: 95.94 kB / 0.7736 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.671e-05/0.01539, allocations: 32.16 kB / 0.7736 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.01554, allocations: 112 kB / 0.7737 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.01554, allocations: 0 / 0.7737 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of Templates: time 0.00681/0.02235, allocations: 5.331 MB / 0.7789 GB, free: 3.172 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.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.000656330026686]