Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001405/0.001405, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001418/0.001418, allocations: 156 kB / 23.01 MB, free: 4.602 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.816/2.816, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.ASHRAEHeatLoss,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.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,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.ASHRAEHeatLoss") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003329/0.003329, allocations: 67.91 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.008, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002453/1.01, allocations: 1.843 MB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003196/1.014, allocations: 3.41 MB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.712e-05/1.014, allocations: 2.688 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005358/1.014, allocations: 166.5 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/1.014, allocations: 78.33 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/1.015, allocations: 52.72 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003417/1.015, allocations: 271.1 kB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/1.015, allocations: 24.56 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.931e-05/1.015, allocations: 75.2 kB / 1.16 GB, free: 29.42 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/1.015, allocations: 79.47 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/1.015, allocations: 7.969 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.351e-05/1.015, allocations: 27.91 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/1.015, allocations: 51.7 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/1.015, allocations: 71.61 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/1.016, allocations: 191.1 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.016, allocations: 2.594 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.342e-06/1.016, allocations: 4 kB / 1.16 GB, free: 29.24 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.835e-06/1.016, allocations: 0 / 1.16 GB, free: 29.24 MB / 1.076 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.0007511/1.016, allocations: 476.5 kB / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/1.016, allocations: 9.156 kB / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/1.017, allocations: 60.5 kB / 1.161 GB, free: 28.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/1.017, allocations: 203.9 kB / 1.161 GB, free: 28.67 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/1.017, allocations: 384 / 1.161 GB, free: 28.67 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/1.017, allocations: 3.406 kB / 1.161 GB, free: 28.67 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/1.018, allocations: 142.3 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.018, allocations: 0 / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/1.018, allocations: 0 / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/1.018, allocations: 11.64 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/1.018, allocations: 147.7 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/1.018, allocations: 365.3 kB / 1.161 GB, free: 28.31 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/1.019, allocations: 164 kB / 1.162 GB, free: 28.24 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/1.019, allocations: 90.53 kB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/1.019, allocations: 0 / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/1.019, allocations: 41.53 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/1.019, allocations: 0 / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0007526/1.02, allocations: 281.8 kB / 1.162 GB, free: 28.07 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/1.02, allocations: 54.34 kB / 1.162 GB, free: 28.01 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/1.02, allocations: 245.8 kB / 1.162 GB, free: 27.87 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/1.02, allocations: 25.7 kB / 1.162 GB, free: 27.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/1.02, allocations: 135.9 kB / 1.162 GB, free: 27.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/1.02, allocations: 48.75 kB / 1.162 GB, free: 27.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/1.02, allocations: 39.42 kB / 1.163 GB, free: 27.64 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.433e-05/1.02, allocations: 339.5 kB / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/1.02, allocations: 67.39 kB / 1.163 GB, free: 27.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/1.021, allocations: 89.06 kB / 1.163 GB, free: 27.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/1.021, allocations: 155.4 kB / 1.163 GB, free: 27.23 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.021, allocations: 0 / 1.163 GB, free: 27.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004601/1.022, allocations: 210 kB / 1.163 GB, free: 27.15 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/1.022, allocations: 9.719 kB / 1.163 GB, free: 27.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/1.022, allocations: 0 / 1.163 GB, free: 27.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.022, allocations: 3 kB / 1.163 GB, free: 27.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/1.022, allocations: 37.42 kB / 1.163 GB, free: 27.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/1.022, allocations: 0 / 1.163 GB, free: 27.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/1.022, allocations: 21.56 kB / 1.163 GB, free: 27.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/1.022, allocations: 6.422 kB / 1.163 GB, free: 27.13 MB / 1.076 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.911e-05/1.022, allocations: 135.6 kB / 1.164 GB, free: 27.01 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/1.022, allocations: 31.39 kB / 1.164 GB, free: 26.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/1.022, allocations: 31.06 kB / 1.164 GB, free: 26.96 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.022, allocations: 2.938 kB / 1.164 GB, free: 26.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.022, allocations: 0 / 1.164 GB, free: 26.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/1.022, allocations: 0 / 1.164 GB, free: 26.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/1.022, allocations: 206.7 kB / 1.164 GB, free: 26.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.022, allocations: 0 / 1.164 GB, free: 26.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/1.023, allocations: 33.92 kB / 1.164 GB, free: 26.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.023, allocations: 0 / 1.164 GB, free: 26.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/1.023, allocations: 14.08 kB / 1.164 GB, free: 26.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.023, allocations: 0 / 1.164 GB, free: 26.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.023, allocations: 0 / 1.164 GB, free: 26.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/1.023, allocations: 312 kB / 1.164 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/1.023, allocations: 33.08 kB / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/1.023, allocations: 5.875 kB / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/1.023, allocations: 15.28 kB / 1.164 GB, free: 26.58 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/1.023, allocations: 17.34 kB / 1.164 GB, free: 26.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/1.023, allocations: 2.781 kB / 1.164 GB, free: 26.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000112/1.023, allocations: 182.9 kB / 1.164 GB, free: 26.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.023, allocations: 0 / 1.164 GB, free: 26.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002664/1.024, allocations: 36.66 kB / 1.164 GB, free: 26.46 MB / 1.076 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.0001511/1.024, allocations: 114.6 kB / 1.165 GB, free: 26.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004765/1.024, allocations: 165.8 kB / 1.165 GB, free: 26.33 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.024, allocations: 0 / 1.165 GB, free: 26.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/1.025, allocations: 85.33 kB / 1.165 GB, free: 26.31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/1.025, allocations: 50 kB / 1.165 GB, free: 26.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/1.026, allocations: 456.6 kB / 1.165 GB, free: 26.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.879e-05/1.026, allocations: 136.4 kB / 1.165 GB, free: 25.94 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001343/1.026, allocations: 55.12 kB / 1.165 GB, free: 25.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/1.026, allocations: 20 kB / 1.165 GB, free: 25.92 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/1.026, allocations: 0 / 1.165 GB, free: 25.92 MB / 1.076 GB Notification: Performance of Templates: time 0.005143/1.031, allocations: 2.346 MB / 1.168 GB, free: 25.64 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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: 9.171969790011644]