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.001361/0.001361, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001566/0.001566, allocations: 221.8 kB / 23 MB, free: 4.914 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 8.008 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 3.296/3.296, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 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.0021/0.0021, allocations: 71.69 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4025, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003735/0.4063, allocations: 2.002 MB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005908/0.4122, allocations: 3.908 MB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.4123, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000933/0.4133, allocations: 175.1 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.4134, allocations: 67.44 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008667/0.4143, allocations: 317 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000714/0.415, allocations: 386.8 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.4151, allocations: 36.56 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.4153, allocations: 119.5 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.4155, allocations: 131.4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.4156, allocations: 16 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005901/0.4162, allocations: 299.6 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.4163, allocations: 111.6 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.4164, allocations: 123.3 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006906/0.4171, allocations: 0.5292 MB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4171, allocations: 0 / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4171, allocations: 0 / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.4172, allocations: 0 / 1.334 GB, free: 9.656 MB / 1.029 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.001431/0.4186, allocations: 0.7002 MB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4186, allocations: 12.03 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.4192, allocations: 88.59 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/0.4199, allocations: 292.7 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4199, allocations: 12.31 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.4199, allocations: 4.375 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/0.4204, allocations: 201.6 kB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4205, allocations: 0 / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.4205, allocations: 4 kB / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.4205, allocations: 4 kB / 1.336 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007438/0.4212, allocations: 239.8 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.4223, allocations: 0.4961 MB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.4228, allocations: 170.5 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.4232, allocations: 124.8 kB / 1.337 GB, free: 7.223 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-05/0.4232, allocations: 24.2 kB / 1.337 GB, free: 7.199 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.4232, allocations: 34.5 kB / 1.337 GB, free: 7.156 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.4233, allocations: 4 kB / 1.337 GB, free: 7.152 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001329/0.4246, allocations: 441.2 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.4246, allocations: 55.41 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.4251, allocations: 421.9 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.4251, allocations: 25.7 kB / 1.338 GB, free: 6.195 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.4253, allocations: 191.9 kB / 1.338 GB, free: 6.004 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.4254, allocations: 31.7 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.4254, allocations: 45.69 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4256, allocations: 350.7 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.4261, allocations: 221.5 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.4266, allocations: 209.6 kB / 1.339 GB, free: 5.137 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008425/0.4274, allocations: 368.3 kB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4274, allocations: 0 / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001088/0.4285, allocations: 0.5103 MB / 1.339 GB, free: 4.242 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/0.4286, allocations: 45.69 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4286, allocations: 0 / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.4286, allocations: 3.938 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.4289, allocations: 47.94 kB / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4289, allocations: 0 / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.4292, allocations: 43.81 kB / 1.34 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.4292, allocations: 7.938 kB / 1.34 GB, free: 4.09 MB / 1.029 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.0001907/0.4294, allocations: 162.3 kB / 1.34 GB, free: 3.922 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.4295, allocations: 35.77 kB / 1.34 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009923/0.4305, allocations: 340.7 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4305, allocations: 7.984 kB / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4305, allocations: 0 / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4305, allocations: 7.984 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.4308, allocations: 253.1 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4308, allocations: 4 kB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.4311, allocations: 47.88 kB / 1.34 GB, free: 3.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4311, allocations: 0 / 1.34 GB, free: 3.203 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.4312, allocations: 4 kB / 1.34 GB, free: 3.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.4312, allocations: 7.984 kB / 1.34 GB, free: 3.191 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4312, allocations: 4 kB / 1.34 GB, free: 3.188 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009364/0.4321, allocations: 419.8 kB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.4322, allocations: 59.62 kB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.4323, allocations: 8 kB / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.4326, allocations: 27.95 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/0.4326, allocations: 15.97 kB / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.4327, allocations: 0 / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003725/0.433, allocations: 303 kB / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.433, allocations: 0 / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005058/0.4335, allocations: 115.8 kB / 1.341 GB, free: 2.246 MB / 1.029 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.0003794/0.4339, allocations: 175 kB / 1.341 GB, free: 2.066 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.435, allocations: 464.8 kB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.435, allocations: 0 / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004213/0.4355, allocations: 143.8 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.436, allocations: 69.55 kB / 1.342 GB, free: 1.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4373, allocations: 0.6685 MB / 1.343 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.4375, allocations: 187.2 kB / 1.343 GB, free: 492 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.4376, allocations: 31.41 kB / 1.343 GB, free: 460 kB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/0.4376, allocations: 3.938 kB / 1.343 GB, free: 456 kB / 1.029 GB Notification: Performance of Templates: time 0.008842/0.4465, allocations: 5.075 MB / 1.348 GB, free: 11.4 MB / 1.045 GB " [Timeout remaining time 300] 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.197809115983546]