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.0009608/0.0009608, allocations: 73.88 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.001082/0.001082, allocations: 169 kB / 24.06 MB, free: 452 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.967/0.967, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.934 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.673e-06/1.673e-06, allocations: 0 / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.313e-05, allocations: 6.969 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003322/0.003345, allocations: 1.934 MB / 0.8813 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004847/0.008192, allocations: 3.702 MB / 0.8849 GB, free: 408 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.008314, allocations: 7.938 kB / 0.8849 GB, free: 400 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008477/0.009162, allocations: 183.1 kB / 0.8851 GB, free: 216 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.0094, allocations: 79.39 kB / 0.8852 GB, free: 136 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.009559, allocations: 55.86 kB / 0.8852 GB, free: 80 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.0101, allocations: 294.9 kB / 0.8855 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.0102, allocations: 17.8 kB / 0.8855 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.01038, allocations: 99.78 kB / 0.8856 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.01052, allocations: 71.73 kB / 0.8857 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.01055, allocations: 8 kB / 0.8857 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.01064, allocations: 23.98 kB / 0.8857 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.01072, allocations: 59.77 kB / 0.8858 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.269e-05/0.01079, allocations: 55.84 kB / 0.8858 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.01105, allocations: 167.2 kB / 0.886 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.01105, allocations: 4 kB / 0.886 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01105, allocations: 0 / 0.886 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.01106, allocations: 0 / 0.886 GB, free: 15.29 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.0007457/0.0118, allocations: 0.5576 MB / 0.8865 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.01184, allocations: 8.031 kB / 0.8865 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000667/0.01251, allocations: 100.7 kB / 0.8866 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.01276, allocations: 192.7 kB / 0.8868 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.01277, allocations: 4.375 kB / 0.8868 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.01279, allocations: 8.359 kB / 0.8868 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.01305, allocations: 114.7 kB / 0.8869 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.01306, allocations: 192 / 0.8869 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.01307, allocations: 4.125 kB / 0.8869 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.0131, allocations: 12 kB / 0.8869 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.01322, allocations: 38.3 kB / 0.887 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.01379, allocations: 356.2 kB / 0.8873 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.01398, allocations: 94.94 kB / 0.8874 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.01406, allocations: 43.66 kB / 0.8874 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.01408, allocations: 7.938 kB / 0.8875 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.01411, allocations: 37.39 kB / 0.8875 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.01411, allocations: 0 / 0.8875 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0003736/0.01448, allocations: 141 kB / 0.8876 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.01452, allocations: 59.34 kB / 0.8877 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.01476, allocations: 306.2 kB / 0.888 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.01478, allocations: 29.7 kB / 0.888 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.01489, allocations: 198.8 kB / 0.8882 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.01495, allocations: 39.64 kB / 0.8882 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.01502, allocations: 43.33 kB / 0.8883 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.0152, allocations: 0.5118 MB / 0.8888 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.01526, allocations: 15.98 kB / 0.8888 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.01533, allocations: 19.98 kB / 0.8888 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.01547, allocations: 55.67 kB / 0.8889 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01547, allocations: 0 / 0.8889 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002557/0.01573, allocations: 125.4 kB / 0.889 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01574, allocations: 4 kB / 0.889 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01575, allocations: 0 / 0.889 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.01576, allocations: 4 kB / 0.889 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.01598, allocations: 27.97 kB / 0.889 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.01598, allocations: 3.938 kB / 0.889 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.01611, allocations: 19.98 kB / 0.889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.01613, allocations: 0 / 0.889 GB, free: 11.95 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 0.0001118/0.01624, allocations: 160.6 kB / 0.8892 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.01631, allocations: 27.8 kB / 0.8892 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.01636, allocations: 33.8 kB / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01636, allocations: 3.938 kB / 0.8893 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01636, allocations: 0 / 0.8893 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01637, allocations: 3.984 kB / 0.8893 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.01661, allocations: 173 kB / 0.8894 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01661, allocations: 4 kB / 0.8894 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.0168, allocations: 31.98 kB / 0.8895 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.0168, allocations: 0 / 0.8895 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.01682, allocations: 7.922 kB / 0.8895 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01682, allocations: 0 / 0.8895 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01682, allocations: 0 / 0.8895 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.01714, allocations: 279.2 kB / 0.8897 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.01722, allocations: 35.78 kB / 0.8898 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.01726, allocations: 11.94 kB / 0.8898 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.0174, allocations: 4 kB / 0.8898 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.01745, allocations: 19.97 kB / 0.8898 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.01747, allocations: 4 kB / 0.8898 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001371/0.01761, allocations: 203 kB / 0.89 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01761, allocations: 0 / 0.89 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002943/0.0179, allocations: 36 kB / 0.89 GB, free: 10.88 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 0.0001108/0.01801, allocations: 99.19 kB / 0.8901 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.01822, allocations: 67.58 kB / 0.8902 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.01823, allocations: 4 kB / 0.8902 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.909e-05/0.01833, allocations: 55.58 kB / 0.8902 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.01877, allocations: 60.88 kB / 0.8903 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/0.01972, allocations: 407.5 kB / 0.8907 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.208e-05/0.01979, allocations: 87.81 kB / 0.8908 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.01997, allocations: 41.41 kB / 0.8908 GB, free: 10 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.02017, allocations: 114.2 kB / 0.8909 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.02017, allocations: 0 / 0.8909 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of Templates: time 0.004394/0.02457, allocations: 3.009 MB / 0.8939 GB, free: 6.973 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.0856272000819445]