Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009531/0.0009531, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009238/0.0009238, allocations: 173 kB / 23.49 MB, free: 1.055 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.921/0.921, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.077/2.077, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.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_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.49e-05, allocations: 5.797 kB / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002212/0.002237, allocations: 1.948 MB / 0.8801 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.00512, allocations: 3.735 MB / 0.8837 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.005194, allocations: 5.594 kB / 0.8837 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.005783, allocations: 186.2 kB / 0.8839 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.005917, allocations: 79.34 kB / 0.884 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.434e-05/0.005991, allocations: 49.36 kB / 0.884 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000472/0.006463, allocations: 296.4 kB / 0.8843 GB, free: 384 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.006552, allocations: 17.8 kB / 0.8843 GB, free: 360 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.811e-05/0.00665, allocations: 104.2 kB / 0.8844 GB, free: 256 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.006743, allocations: 63.86 kB / 0.8845 GB, free: 192 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.006759, allocations: 11.94 kB / 0.8845 GB, free: 180 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.451e-05/0.006824, allocations: 35.91 kB / 0.8845 GB, free: 144 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.006876, allocations: 51.84 kB / 0.8846 GB, free: 92 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.006927, allocations: 59.78 kB / 0.8847 GB, free: 32 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.007112, allocations: 159.4 kB / 0.8848 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.007114, allocations: 3.938 kB / 0.8848 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.51e-07/0.007115, allocations: 0 / 0.8848 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.007119, allocations: 0 / 0.8848 GB, free: 15.87 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005855/0.007704, allocations: 0.5654 MB / 0.8854 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.007753, allocations: 8.031 kB / 0.8854 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.008226, allocations: 116.6 kB / 0.8855 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.008511, allocations: 204.7 kB / 0.8857 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.008523, allocations: 4.375 kB / 0.8857 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.00854, allocations: 8.359 kB / 0.8857 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.008757, allocations: 117.3 kB / 0.8858 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.008766, allocations: 4.125 kB / 0.8858 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.008785, allocations: 8.125 kB / 0.8858 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.008819, allocations: 8 kB / 0.8858 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.008924, allocations: 43.95 kB / 0.8859 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.009408, allocations: 411.6 kB / 0.8863 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.009559, allocations: 102.9 kB / 0.8863 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.009635, allocations: 55.59 kB / 0.8864 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.009649, allocations: 0 / 0.8864 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.009669, allocations: 37.39 kB / 0.8864 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 9.22e-07/0.00967, allocations: 0 / 0.8864 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002981/0.009968, allocations: 157 kB / 0.8866 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.009995, allocations: 51.41 kB / 0.8866 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.01017, allocations: 314.3 kB / 0.8869 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.01018, allocations: 29.7 kB / 0.887 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/0.01026, allocations: 194.8 kB / 0.8872 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.01029, allocations: 43.64 kB / 0.8872 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.01035, allocations: 35.36 kB / 0.8872 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.01046, allocations: 0.5157 MB / 0.8877 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.01051, allocations: 15.98 kB / 0.8877 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.01056, allocations: 23.98 kB / 0.8878 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.01068, allocations: 63.67 kB / 0.8878 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01068, allocations: 0 / 0.8878 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001776/0.01086, allocations: 145.2 kB / 0.888 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.01087, allocations: 4 kB / 0.888 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01087, allocations: 0 / 0.888 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01088, allocations: 7.938 kB / 0.888 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.01102, allocations: 27.97 kB / 0.888 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.01103, allocations: 0 / 0.888 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.0111, allocations: 12 kB / 0.888 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.01112, allocations: 7.984 kB / 0.888 GB, free: 12.38 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 (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 7.26e-05/0.01119, allocations: 156.6 kB / 0.8882 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.01123, allocations: 43.75 kB / 0.8882 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.01126, allocations: 25.8 kB / 0.8882 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01127, allocations: 4 kB / 0.8882 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01127, allocations: 0 / 0.8882 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01128, allocations: 0 / 0.8882 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.01144, allocations: 204.5 kB / 0.8884 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.01144, allocations: 3.938 kB / 0.8884 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.941e-05/0.01154, allocations: 35.91 kB / 0.8885 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01154, allocations: 3.938 kB / 0.8885 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.01156, allocations: 4 kB / 0.8885 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.01156, allocations: 8 kB / 0.8885 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01156, allocations: 0 / 0.8885 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.01177, allocations: 275.8 kB / 0.8888 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.01183, allocations: 47.72 kB / 0.8888 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.01185, allocations: 3.938 kB / 0.8888 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.01193, allocations: 4 kB / 0.8888 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.01198, allocations: 15.97 kB / 0.8888 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.01199, allocations: 4 kB / 0.8888 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.01208, allocations: 211 kB / 0.889 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01208, allocations: 0 / 0.889 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000179/0.01226, allocations: 47.94 kB / 0.8891 GB, free: 11.23 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 (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 7.437e-05/0.01234, allocations: 95.25 kB / 0.8892 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.0125, allocations: 79.58 kB / 0.8892 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.0125, allocations: 0 / 0.8892 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.01257, allocations: 51.66 kB / 0.8893 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.01285, allocations: 65.84 kB / 0.8894 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.01357, allocations: 419.5 kB / 0.8898 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.935e-05/0.01362, allocations: 87.81 kB / 0.8898 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.01375, allocations: 57.42 kB / 0.8899 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.01381, allocations: 20.48 kB / 0.8899 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.01381, allocations: 0 / 0.8899 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of Templates: time 0.004032/0.01784, allocations: 2.748 MB / 0.8926 GB, free: 7.648 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.138481805101037]