Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00162/0.00162, allocations: 113.6 kB / 17.13 MB, free: 5.945 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.001855/0.001855, allocations: 209 kB / 20.09 MB, free: 2.996 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.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.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.947/2.947, allocations: 0.49 GB / 0.7922 GB, free: 1.285 MB / 0.6231 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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [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.001997/0.001997, allocations: 67.91 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8757/0.8777, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002601/0.8803, allocations: 2.084 MB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.8838, allocations: 4.206 MB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.8839, allocations: 10.88 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006874/0.8846, allocations: 195.7 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.8847, allocations: 66.62 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.8853, allocations: 300.3 kB / 1.329 GB, free: 20.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000545/0.8859, allocations: 388.2 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.886, allocations: 42.22 kB / 1.329 GB, free: 20.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.8862, allocations: 122.6 kB / 1.329 GB, free: 20.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.8863, allocations: 128.4 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.8863, allocations: 20.56 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.8868, allocations: 316.9 kB / 1.33 GB, free: 19.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.8869, allocations: 102.1 kB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.887, allocations: 150.2 kB / 1.33 GB, free: 19.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006897/0.8877, allocations: 0.5231 MB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8877, allocations: 4 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8877, allocations: 0.7031 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.8877, allocations: 4.812 kB / 1.33 GB, free: 19.6 MB / 1.061 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.001248/0.889, allocations: 0.7673 MB / 1.331 GB, free: 18.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.889, allocations: 13.92 kB / 1.331 GB, free: 18.99 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.8895, allocations: 87.84 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.89, allocations: 353.3 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.89, allocations: 8.438 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.89, allocations: 6.062 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.8905, allocations: 205.4 kB / 1.332 GB, free: 18.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8905, allocations: 0 / 1.332 GB, free: 18.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.8906, allocations: 5.672 kB / 1.332 GB, free: 18.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.8906, allocations: 2.188 kB / 1.332 GB, free: 18.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007273/0.8913, allocations: 242.4 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009385/0.8922, allocations: 0.6007 MB / 1.333 GB, free: 18.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.8927, allocations: 163 kB / 1.333 GB, free: 18.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.8931, allocations: 132.3 kB / 1.333 GB, free: 18.08 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/0.8931, allocations: 23.39 kB / 1.333 GB, free: 18.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.8931, allocations: 32.53 kB / 1.333 GB, free: 18.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.8931, allocations: 0 / 1.333 GB, free: 18.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001326/0.8945, allocations: 448.4 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.8945, allocations: 52.12 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.8949, allocations: 428.7 kB / 1.334 GB, free: 17.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.8949, allocations: 30.8 kB / 1.334 GB, free: 17.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.895, allocations: 184.9 kB / 1.334 GB, free: 17.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.8951, allocations: 35.31 kB / 1.334 GB, free: 17.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/0.8952, allocations: 39.3 kB / 1.334 GB, free: 17.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.8952, allocations: 349.1 kB / 1.334 GB, free: 17.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.8957, allocations: 172.8 kB / 1.335 GB, free: 17.03 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.8961, allocations: 168.6 kB / 1.335 GB, free: 17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.897, allocations: 353.8 kB / 1.335 GB, free: 16.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.897, allocations: 0.5625 kB / 1.335 GB, free: 16.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001167/0.8982, allocations: 477.4 kB / 1.336 GB, free: 16.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.8983, allocations: 44.27 kB / 1.336 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8983, allocations: 0 / 1.336 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.8983, allocations: 0 / 1.336 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.8986, allocations: 49.53 kB / 1.336 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.8986, allocations: 4 kB / 1.336 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.8989, allocations: 42.33 kB / 1.336 GB, free: 16.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.8989, allocations: 7.641 kB / 1.336 GB, free: 16.66 MB / 1.061 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 0.0001321/0.899, allocations: 158 kB / 1.336 GB, free: 16.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.8991, allocations: 34.27 kB / 1.336 GB, free: 16.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000921/0.9, allocations: 350.3 kB / 1.336 GB, free: 16.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9, allocations: 2.578 kB / 1.336 GB, free: 16.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9, allocations: 0 / 1.336 GB, free: 16.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9, allocations: 7.938 kB / 1.336 GB, free: 16.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.9004, allocations: 346.8 kB / 1.337 GB, free: 16.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.9004, allocations: 0 / 1.337 GB, free: 16.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.9007, allocations: 44.56 kB / 1.337 GB, free: 16.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.9007, allocations: 1.594 kB / 1.337 GB, free: 16.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.9007, allocations: 6.016 kB / 1.337 GB, free: 16.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.9007, allocations: 6.203 kB / 1.337 GB, free: 16.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.9007, allocations: 0 / 1.337 GB, free: 16.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008467/0.9016, allocations: 430.2 kB / 1.337 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.9017, allocations: 136.3 kB / 1.337 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.9018, allocations: 0.7969 kB / 1.337 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.902, allocations: 28.64 kB / 1.337 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.9021, allocations: 18.83 kB / 1.337 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.9021, allocations: 4.484 kB / 1.337 GB, free: 15.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002785/0.9024, allocations: 296.8 kB / 1.337 GB, free: 15.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9024, allocations: 0 / 1.337 GB, free: 15.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005353/0.9029, allocations: 116.6 kB / 1.338 GB, free: 15.62 MB / 1.061 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.0003231/0.9033, allocations: 180.8 kB / 1.338 GB, free: 15.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009679/0.9042, allocations: 461.8 kB / 1.338 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9042, allocations: 5.125 kB / 1.338 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.9046, allocations: 136.1 kB / 1.338 GB, free: 15.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.9051, allocations: 65.28 kB / 1.338 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.9061, allocations: 0.672 MB / 1.339 GB, free: 14.92 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.9063, allocations: 0.7888 MB / 1.34 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.9064, allocations: 30.95 kB / 1.34 GB, free: 14.2 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9064, allocations: 0 / 1.34 GB, free: 14.2 MB / 1.061 GB Notification: Performance of Templates: time 0.00795/0.9144, allocations: 4.921 MB / 1.345 GB, free: 13.71 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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: 12.040536847998737]