Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001685/0.001685, allocations: 79.86 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002477/0.002477, allocations: 163.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.495/1.495, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.911/2.911, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_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.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.9814 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.002e-05, allocations: 5.797 kB / 0.9814 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00363/0.00366, allocations: 1.845 MB / 0.9832 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00509/0.00875, allocations: 3.452 MB / 0.9866 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.008873, allocations: 3.938 kB / 0.9866 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009433/0.009817, allocations: 175.1 kB / 0.9868 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.01007, allocations: 91.33 kB / 0.9869 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.01024, allocations: 59.84 kB / 0.9869 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006175/0.01086, allocations: 279 kB / 0.9872 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.01097, allocations: 29.72 kB / 0.9872 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.01114, allocations: 103.7 kB / 0.9873 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.01132, allocations: 71.8 kB / 0.9874 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.01135, allocations: 8 kB / 0.9874 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.01145, allocations: 23.94 kB / 0.9874 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.01154, allocations: 63.75 kB / 0.9875 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.01164, allocations: 51.86 kB / 0.9875 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.01196, allocations: 203.2 kB / 0.9877 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01196, allocations: 0 / 0.9877 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.01196, allocations: 4 kB / 0.9877 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.01197, allocations: 0 / 0.9877 GB, free: 4.422 MB / 0.8887 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.0009569/0.01292, allocations: 480.7 kB / 0.9882 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.01296, allocations: 8.031 kB / 0.9882 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.01337, allocations: 60.7 kB / 0.9882 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.01389, allocations: 205.9 kB / 0.9884 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.0139, allocations: 12.31 kB / 0.9885 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.01392, allocations: 4.375 kB / 0.9885 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.01431, allocations: 140.6 kB / 0.9886 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.01432, allocations: 192 / 0.9886 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.01434, allocations: 8.109 kB / 0.9886 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.01437, allocations: 11.98 kB / 0.9886 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.01485, allocations: 143.9 kB / 0.9887 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.01562, allocations: 380.2 kB / 0.9891 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.01608, allocations: 162.4 kB / 0.9893 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.01636, allocations: 100.8 kB / 0.9894 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.01638, allocations: 0 / 0.9894 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.01641, allocations: 34.56 kB / 0.9894 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.01641, allocations: 0 / 0.9894 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0009097/0.01732, allocations: 305.5 kB / 0.9897 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.01737, allocations: 51.41 kB / 0.9897 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.01764, allocations: 260.2 kB / 0.99 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.01767, allocations: 25.7 kB / 0.99 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.01777, allocations: 132.1 kB / 0.9901 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.01783, allocations: 51.62 kB / 0.9902 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.0179, allocations: 33.66 kB / 0.9902 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.01813, allocations: 338.8 kB / 0.9905 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.01846, allocations: 71.94 kB / 0.9906 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.0187, allocations: 79.17 kB / 0.9907 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/0.0192, allocations: 164.8 kB / 0.9908 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.0192, allocations: 0 / 0.9908 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00062/0.01982, allocations: 221.3 kB / 0.991 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.01984, allocations: 12 kB / 0.9911 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.01984, allocations: 3.938 kB / 0.9911 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01986, allocations: 3.938 kB / 0.9911 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.02012, allocations: 39.95 kB / 0.9911 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.02013, allocations: 0 / 0.9911 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.0203, allocations: 15.92 kB / 0.9911 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.02032, allocations: 4 kB / 0.9911 GB, free: 0.7578 MB / 0.8887 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.0001539/0.02047, allocations: 149.8 kB / 0.9913 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.02053, allocations: 27.75 kB / 0.9913 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.656e-05/0.02059, allocations: 33.8 kB / 0.9913 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.0206, allocations: 4 kB / 0.9913 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.0206, allocations: 0 / 0.9913 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.0206, allocations: 0 / 0.9913 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.02089, allocations: 185.2 kB / 0.9915 GB, free: 336 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.02089, allocations: 4 kB / 0.9915 GB, free: 332 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.02113, allocations: 39.89 kB / 0.9915 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.02113, allocations: 0 / 0.9915 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.02115, allocations: 8 kB / 0.9916 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.02115, allocations: 0 / 0.9916 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.02116, allocations: 4 kB / 0.9916 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007428/0.0219, allocations: 330.2 kB / 0.9919 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/0.02199, allocations: 39.72 kB / 0.9919 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.02203, allocations: 7.984 kB / 0.9919 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.02224, allocations: 19.97 kB / 0.9919 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/0.02232, allocations: 11.98 kB / 0.992 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.02233, allocations: 4 kB / 0.992 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002218/0.02256, allocations: 191.1 kB / 0.9921 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.02256, allocations: 0 / 0.9921 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003096/0.02287, allocations: 36 kB / 0.9922 GB, free: 15.63 MB / 0.9044 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.0002181/0.02308, allocations: 107.1 kB / 0.9923 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006397/0.02372, allocations: 171.8 kB / 0.9924 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.02373, allocations: 0 / 0.9924 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.02404, allocations: 95.86 kB / 0.9925 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.02452, allocations: 56.88 kB / 0.9926 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.02561, allocations: 459 kB / 0.993 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.02578, allocations: 132.1 kB / 0.9931 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.02594, allocations: 49.39 kB / 0.9932 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.02602, allocations: 24.48 kB / 0.9932 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of SimCode: time 7.52e-07/0.02602, allocations: 4 kB / 0.9932 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.00711/0.03313, allocations: 2.614 MB / 0.9958 GB, free: 11.97 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.06696991994977]