Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001443/0.001443, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001713/0.001713, allocations: 169 kB / 24.06 MB, free: 456 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.9835/0.9835, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.057/2.057, allocations: 429.5 MB / 0.6743 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.036e-05, allocations: 3.25 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002546/0.002566, allocations: 2.106 MB / 0.8814 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004348/0.006914, allocations: 4.144 MB / 0.8855 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.007032, allocations: 11.06 kB / 0.8855 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007203/0.007752, allocations: 187 kB / 0.8857 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.007878, allocations: 77.23 kB / 0.8858 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.008522, allocations: 308.7 kB / 0.886 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.009047, allocations: 402.6 kB / 0.8864 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.009143, allocations: 28.58 kB / 0.8865 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.009314, allocations: 155.6 kB / 0.8866 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.009429, allocations: 107.7 kB / 0.8867 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.009454, allocations: 16 kB / 0.8867 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.009863, allocations: 311.4 kB / 0.887 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.009956, allocations: 103.7 kB / 0.8871 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.869e-05/0.01003, allocations: 91.75 kB / 0.8872 GB, free: 14 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.01052, allocations: 0.4983 MB / 0.8877 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.01052, allocations: 4 kB / 0.8877 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.31e-07/0.01052, allocations: 0 / 0.8877 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.01053, allocations: 4 kB / 0.8877 GB, free: 13.49 MB / 0.8542 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.000765/0.01129, allocations: 0.7646 MB / 0.8884 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.01132, allocations: 8.031 kB / 0.8885 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005057/0.01183, allocations: 140.6 kB / 0.8886 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.01207, allocations: 262.7 kB / 0.8888 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.01208, allocations: 4.375 kB / 0.8888 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.0121, allocations: 12.38 kB / 0.8889 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.01232, allocations: 133.4 kB / 0.889 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.01233, allocations: 192 / 0.889 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.01234, allocations: 12.12 kB / 0.889 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.01235, allocations: 4 kB / 0.889 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.32e-05/0.01243, allocations: 31.97 kB / 0.889 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.01322, allocations: 443.8 kB / 0.8895 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.745e-05/0.01332, allocations: 55.03 kB / 0.8895 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.01337, allocations: 31.67 kB / 0.8895 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.01341, allocations: 16 kB / 0.8896 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.01343, allocations: 45.31 kB / 0.8896 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.01343, allocations: 0 / 0.8896 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0002914/0.01372, allocations: 141.7 kB / 0.8897 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.01375, allocations: 55.41 kB / 0.8898 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.01399, allocations: 426.5 kB / 0.8902 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.01401, allocations: 25.7 kB / 0.8902 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.01411, allocations: 250.6 kB / 0.8905 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.01415, allocations: 39.67 kB / 0.8905 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.01421, allocations: 51.33 kB / 0.8905 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.01434, allocations: 0.5312 MB / 0.8911 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.01441, allocations: 61.62 kB / 0.8911 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.01448, allocations: 66.55 kB / 0.8912 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.01461, allocations: 104.4 kB / 0.8913 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01461, allocations: 0 / 0.8913 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002407/0.01486, allocations: 240.7 kB / 0.8915 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.01489, allocations: 41.69 kB / 0.8915 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.0149, allocations: 4 kB / 0.8916 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.01491, allocations: 4 kB / 0.8916 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.01506, allocations: 39.91 kB / 0.8916 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.01506, allocations: 0 / 0.8916 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.01517, allocations: 31.81 kB / 0.8916 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.01519, allocations: 8 kB / 0.8916 GB, free: 9.227 MB / 0.8542 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 8.991e-05/0.01528, allocations: 160.5 kB / 0.8918 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.01533, allocations: 39.77 kB / 0.8918 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.01557, allocations: 152.9 kB / 0.892 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01557, allocations: 4 kB / 0.892 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.01557, allocations: 7.875 kB / 0.892 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01558, allocations: 0 / 0.892 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.01577, allocations: 208.9 kB / 0.8922 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01577, allocations: 3.984 kB / 0.8922 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.0159, allocations: 35.95 kB / 0.8922 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.0159, allocations: 3.938 kB / 0.8922 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01591, allocations: 8 kB / 0.8922 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01591, allocations: 0 / 0.8922 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01592, allocations: 3.984 kB / 0.8922 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.01614, allocations: 271.7 kB / 0.8925 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.0162, allocations: 55.61 kB / 0.8925 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.01623, allocations: 7.938 kB / 0.8926 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.01634, allocations: 15.98 kB / 0.8926 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.01638, allocations: 15.97 kB / 0.8926 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.01639, allocations: 7.984 kB / 0.8926 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001352/0.01653, allocations: 271 kB / 0.8928 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01653, allocations: 4 kB / 0.8929 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003174/0.01685, allocations: 115.8 kB / 0.893 GB, free: 7.801 MB / 0.8542 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.0002303/0.01708, allocations: 175.1 kB / 0.8931 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.01731, allocations: 205.5 kB / 0.8933 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01731, allocations: 0 / 0.8933 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.01738, allocations: 39.88 kB / 0.8934 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.0177, allocations: 77.7 kB / 0.8934 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.0185, allocations: 0.5627 MB / 0.894 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.688e-05/0.01856, allocations: 99.94 kB / 0.8941 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.01869, allocations: 41.94 kB / 0.8941 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.01886, allocations: 130.1 kB / 0.8942 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.01886, allocations: 0 / 0.8942 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of Templates: time 0.007692/0.02655, allocations: 5.81 MB / 0.8999 GB, free: 0.6836 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.400997770950198]