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.001388/0.001388, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001499/0.001499, allocations: 212.8 kB / 22.99 MB, free: 4.945 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.157/3.157, allocations: 0.4892 GB / 0.7951 GB, free: 35.75 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.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.002057/0.002057, allocations: 73.42 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3915, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003294/0.3948, allocations: 1.842 MB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004513/0.3993, allocations: 3.401 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.954e-05/0.3994, allocations: 8 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.4002, allocations: 159.3 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.4004, allocations: 79.45 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.4006, allocations: 59.91 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000485/0.401, allocations: 263.1 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.4011, allocations: 25.7 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.4013, allocations: 75.7 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.4014, allocations: 75.62 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.4014, allocations: 8 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.38e-05/0.4015, allocations: 23.98 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.4016, allocations: 63.73 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.645e-05/0.4017, allocations: 67.55 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.402, allocations: 203 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.402, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.402, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.402, allocations: 3.938 kB / 1.332 GB, free: 11.51 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008858/0.4029, allocations: 472.8 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4029, allocations: 8.031 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/0.4033, allocations: 68.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.4037, allocations: 189.5 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.4037, allocations: 12.38 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.4038, allocations: 12.36 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.4041, allocations: 145.6 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4041, allocations: 0 / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4041, allocations: 0 / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.4042, allocations: 8 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.4046, allocations: 135.9 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.4053, allocations: 372.2 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.4057, allocations: 155.5 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.4059, allocations: 96.78 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.406, allocations: 0 / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.406, allocations: 38.56 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.406, allocations: 0 / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008155/0.4068, allocations: 290.4 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.4069, allocations: 51.41 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.4071, allocations: 245.9 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.4071, allocations: 25.7 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4072, allocations: 140.1 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.4073, allocations: 39.64 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.4073, allocations: 33.7 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4075, allocations: 334.8 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.4077, allocations: 75.94 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.4079, allocations: 75.19 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/0.4084, allocations: 156.7 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4084, allocations: 0 / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005137/0.4089, allocations: 213.4 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4089, allocations: 4 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4089, allocations: 0 / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4089, allocations: 4 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.4091, allocations: 35.97 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4091, allocations: 3.984 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.4093, allocations: 19.88 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.4093, allocations: 8 kB / 1.336 GB, free: 7.949 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 (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.000133/0.4094, allocations: 138.2 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.4095, allocations: 23.86 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.4096, allocations: 33.77 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.4096, allocations: 7.938 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4096, allocations: 3.938 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.4096, allocations: 3.984 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.4098, allocations: 197.1 kB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4099, allocations: 0 / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.4101, allocations: 31.97 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4101, allocations: 4 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4101, allocations: 3.984 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4101, allocations: 0 / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4101, allocations: 4 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.4106, allocations: 319.2 kB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.4107, allocations: 35.78 kB / 1.337 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.4108, allocations: 4 kB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.4109, allocations: 11.98 kB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.411, allocations: 15.97 kB / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.411, allocations: 8 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001598/0.4112, allocations: 177.2 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4112, allocations: 0 / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002719/0.4115, allocations: 36 kB / 1.337 GB, free: 6.852 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 (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.0001622/0.4116, allocations: 119.1 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.4121, allocations: 162.1 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4121, allocations: 0 / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.4124, allocations: 87.86 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.4128, allocations: 56.5 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009314/0.4137, allocations: 489.5 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.4138, allocations: 139.9 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.4139, allocations: 19.42 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4139, allocations: 0 / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of Templates: time 0.005071/0.419, allocations: 2.779 MB / 1.341 GB, free: 2.988 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 11.633895998820662]