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.001154/0.001154, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001337/0.001337, allocations: 169 kB / 23.27 MB, free: 1.223 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.9809/0.9809, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.314/2.314, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.082e-06/1.082e-06, allocations: 0 / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.591e-05, allocations: 5.125 kB / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002189/0.002205, allocations: 2.094 MB / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00363/0.005836, allocations: 4.149 MB / 0.8958 GB, free: 3.469 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.005928, allocations: 3.938 kB / 0.8958 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.006574, allocations: 190.9 kB / 0.896 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.133e-05/0.006665, allocations: 67.38 kB / 0.8961 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.007188, allocations: 319.1 kB / 0.8964 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.007616, allocations: 402.7 kB / 0.8968 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.49e-05/0.007701, allocations: 28.58 kB / 0.8968 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.007859, allocations: 155.6 kB / 0.897 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.007964, allocations: 103.7 kB / 0.8971 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.007988, allocations: 16 kB / 0.8971 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.00834, allocations: 315.4 kB / 0.8974 GB, free: 1.895 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.008422, allocations: 99.73 kB / 0.8975 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.008492, allocations: 95.7 kB / 0.8976 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.00892, allocations: 0.4983 MB / 0.898 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.008923, allocations: 4 kB / 0.898 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.51e-07/0.008924, allocations: 0 / 0.898 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.008927, allocations: 0 / 0.898 GB, free: 1.199 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.0006641/0.009591, allocations: 0.7646 MB / 0.8988 GB, free: 400 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.009625, allocations: 8.625 kB / 0.8988 GB, free: 392 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004606/0.01009, allocations: 148.6 kB / 0.8989 GB, free: 244 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.0103, allocations: 254.9 kB / 0.8992 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.01031, allocations: 8.375 kB / 0.8992 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.01033, allocations: 12.38 kB / 0.8992 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.01052, allocations: 132.2 kB / 0.8993 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-06/0.01053, allocations: 192 / 0.8993 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.01054, allocations: 8.125 kB / 0.8993 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.01055, allocations: 0 / 0.8993 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.01062, allocations: 43.91 kB / 0.8994 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.01112, allocations: 447.8 kB / 0.8998 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.407e-05/0.0112, allocations: 47.03 kB / 0.8999 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.01124, allocations: 31.67 kB / 0.8999 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.01128, allocations: 27.92 kB / 0.8999 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.0113, allocations: 33.39 kB / 0.8999 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.0113, allocations: 0 / 0.8999 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0002484/0.01155, allocations: 145.7 kB / 0.9001 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.01157, allocations: 51.41 kB / 0.9001 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.0118, allocations: 438.5 kB / 0.9005 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.01182, allocations: 25.7 kB / 0.9006 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01192, allocations: 238.7 kB / 0.9008 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.01195, allocations: 43.67 kB / 0.9008 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.01201, allocations: 51.33 kB / 0.9009 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.01214, allocations: 0.5312 MB / 0.9014 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-05/0.01221, allocations: 57.62 kB / 0.9015 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.01227, allocations: 67.67 kB / 0.9015 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.01239, allocations: 115 kB / 0.9016 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.0124, allocations: 4 kB / 0.9016 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002253/0.01262, allocations: 232.7 kB / 0.9019 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.01265, allocations: 41.69 kB / 0.9019 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.01265, allocations: 0 / 0.9019 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.01266, allocations: 0 / 0.9019 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.0128, allocations: 43.89 kB / 0.9019 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.0128, allocations: 3.938 kB / 0.902 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.313e-05/0.01289, allocations: 23.88 kB / 0.902 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.0129, allocations: 4 kB / 0.902 GB, free: 12.93 MB / 0.8698 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.129e-05/0.01299, allocations: 172.5 kB / 0.9021 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.01303, allocations: 39.77 kB / 0.9022 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.01325, allocations: 145.6 kB / 0.9023 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01325, allocations: 3.938 kB / 0.9023 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.01325, allocations: 0 / 0.9023 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01326, allocations: 3.984 kB / 0.9023 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.01345, allocations: 208.9 kB / 0.9025 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01345, allocations: 8 kB / 0.9025 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.01357, allocations: 39.95 kB / 0.9026 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01357, allocations: 3.938 kB / 0.9026 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01358, allocations: 11.92 kB / 0.9026 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01358, allocations: 0 / 0.9026 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01359, allocations: 4 kB / 0.9026 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.01379, allocations: 283.6 kB / 0.9029 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.01386, allocations: 51.67 kB / 0.9029 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.01388, allocations: 3.984 kB / 0.9029 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01398, allocations: 19.98 kB / 0.9029 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.01402, allocations: 15.97 kB / 0.9029 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.01403, allocations: 4 kB / 0.903 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000129/0.01416, allocations: 267 kB / 0.9032 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01416, allocations: 0 / 0.9032 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002557/0.01442, allocations: 123.8 kB / 0.9033 GB, free: 11.49 MB / 0.8698 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.0002029/0.01462, allocations: 183 kB / 0.9035 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.01483, allocations: 200.6 kB / 0.9037 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01483, allocations: 8 kB / 0.9037 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.01489, allocations: 39.66 kB / 0.9037 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01517, allocations: 65.36 kB / 0.9038 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.01594, allocations: 0.5472 MB / 0.9043 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.69e-05/0.016, allocations: 107.9 kB / 0.9044 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.01612, allocations: 45.92 kB / 0.9045 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.01628, allocations: 134.1 kB / 0.9046 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of SimCode: time 5.31e-07/0.01628, allocations: 7.938 kB / 0.9046 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of Templates: time 0.006799/0.02308, allocations: 5.711 MB / 0.9102 GB, free: 4.465 MB / 0.8698 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.240510290022939]