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.001923/0.001923, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002315/0.002315, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.797 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.357/3.357, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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.002123/0.002123, allocations: 66.34 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3542, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004058/0.3582, allocations: 2.004 MB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006743/0.365, allocations: 3.896 MB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.3651, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009503/0.3661, allocations: 187 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.3663, allocations: 63.44 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3673, allocations: 311.2 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008431/0.3682, allocations: 398.7 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3683, allocations: 32.56 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.3686, allocations: 115.6 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.3688, allocations: 127.4 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.3689, allocations: 16 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008025/0.3697, allocations: 311.5 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.3699, allocations: 107.6 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.37, allocations: 111.3 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.3712, allocations: 0.5331 MB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3712, allocations: 0 / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3712, allocations: 0 / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.209e-05/0.3712, allocations: 4 kB / 1.334 GB, free: 9.684 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.001664/0.3728, allocations: 0.7002 MB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3729, allocations: 8.031 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004983/0.3734, allocations: 80.61 kB / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.3742, allocations: 312.5 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3742, allocations: 4.312 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.3742, allocations: 16.36 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.3748, allocations: 195.4 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3748, allocations: 4 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3748, allocations: 4 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3748, allocations: 0 / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00075/0.3756, allocations: 243.8 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.3767, allocations: 0.5039 MB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.3771, allocations: 166.5 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.3775, allocations: 124.8 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.529e-05/0.3776, allocations: 19.98 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.3777, allocations: 38.5 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.904e-06/0.3777, allocations: 0 / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001385/0.3791, allocations: 449.5 kB / 1.336 GB, free: 6.727 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3791, allocations: 51.41 kB / 1.336 GB, free: 6.664 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.3796, allocations: 417.9 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3797, allocations: 33.69 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3798, allocations: 180 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.3798, allocations: 35.69 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.3799, allocations: 41.69 kB / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002646/0.3802, allocations: 350.7 kB / 1.337 GB, free: 5.594 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.3808, allocations: 213.6 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.3812, allocations: 214.7 kB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000944/0.3822, allocations: 368.3 kB / 1.338 GB, free: 4.797 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3822, allocations: 0 / 1.338 GB, free: 4.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001088/0.3833, allocations: 0.5122 MB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.3833, allocations: 45.69 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3833, allocations: 0 / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3833, allocations: 0 / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.3837, allocations: 43.95 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3837, allocations: 3.984 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.384, allocations: 39.8 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.384, allocations: 11.94 kB / 1.339 GB, free: 4.117 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.0002225/0.3842, allocations: 154.3 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.3843, allocations: 39.72 kB / 1.339 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009586/0.3852, allocations: 344.7 kB / 1.339 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3852, allocations: 4 kB / 1.339 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3852, allocations: 0 / 1.339 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3852, allocations: 3.984 kB / 1.339 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.3857, allocations: 261.1 kB / 1.34 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3857, allocations: 4 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.386, allocations: 51.81 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.386, allocations: 0 / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.386, allocations: 4 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.386, allocations: 0 / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.386, allocations: 0 / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009481/0.387, allocations: 427.8 kB / 1.34 GB, free: 2.789 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.3871, allocations: 59.62 kB / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.3872, allocations: 0 / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.3874, allocations: 31.95 kB / 1.34 GB, free: 2.699 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.3875, allocations: 23.86 kB / 1.34 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3875, allocations: 7.984 kB / 1.34 GB, free: 2.668 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000329/0.3879, allocations: 295.1 kB / 1.34 GB, free: 2.383 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3879, allocations: 0 / 1.34 GB, free: 2.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005458/0.3884, allocations: 115.8 kB / 1.34 GB, free: 2.27 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.0003608/0.3888, allocations: 175 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.39, allocations: 468.8 kB / 1.341 GB, free: 1.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.39, allocations: 0 / 1.341 GB, free: 1.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004141/0.3904, allocations: 131.9 kB / 1.341 GB, free: 1.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.3909, allocations: 68.27 kB / 1.341 GB, free: 1.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.3921, allocations: 0.6494 MB / 1.342 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.3923, allocations: 191 kB / 1.342 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002029/0.3925, allocations: 49.91 kB / 1.342 GB, free: 500 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.3926, allocations: 23.42 kB / 1.342 GB, free: 476 kB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3926, allocations: 0 / 1.342 GB, free: 476 kB / 1.029 GB Notification: Performance of Templates: time 0.01102/0.4036, allocations: 5.506 MB / 1.348 GB, free: 11.04 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/jenkins/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: 9.707078592851758]