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.001361/0.001361, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001434/0.001434, allocations: 213.4 kB / 23.04 MB, free: 4.863 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: 230.6 MB / 256.8 MB, free: 7.785 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.242/3.242, allocations: 0.49 GB / 0.7959 GB, free: 35.35 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.002137/0.002137, allocations: 68.23 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4054, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003507/0.4089, allocations: 1.839 MB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004977/0.4139, allocations: 3.401 MB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.414, allocations: 11.94 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008855/0.4149, allocations: 165.4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.4151, allocations: 75.45 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.4153, allocations: 59.94 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005373/0.4158, allocations: 267.1 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.4159, allocations: 25.66 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.4161, allocations: 75.7 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.4162, allocations: 75.67 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.4162, allocations: 8 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-05/0.4163, allocations: 31.92 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.439e-05/0.4164, allocations: 63.73 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.4165, allocations: 67.61 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.4168, allocations: 199 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4168, allocations: 3.984 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4168, allocations: 0 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4168, allocations: 0 / 1.333 GB, free: 10.55 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.000876/0.4177, allocations: 468.8 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4178, allocations: 12.03 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/0.4181, allocations: 60.7 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.4186, allocations: 189.6 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4186, allocations: 12.36 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.4186, allocations: 8.375 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.419, allocations: 145.6 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.419, allocations: 0 / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.419, allocations: 0 / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.419, allocations: 11.98 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.4195, allocations: 135.9 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.4201, allocations: 368.2 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.4206, allocations: 158.4 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.4209, allocations: 104.8 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.4209, allocations: 4 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.4209, allocations: 34.56 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.4209, allocations: 0 / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008242/0.4218, allocations: 285.5 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.4218, allocations: 55.41 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.4221, allocations: 241.9 kB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.4221, allocations: 33.7 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4222, allocations: 136.1 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.4223, allocations: 39.66 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.4223, allocations: 33.69 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4225, allocations: 334.8 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.4227, allocations: 71.94 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.4229, allocations: 77.05 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.4233, allocations: 154.1 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4233, allocations: 0 / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000522/0.4239, allocations: 217.4 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4239, allocations: 7.938 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4239, allocations: 4 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4239, allocations: 0 / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.4241, allocations: 35.97 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.4241, allocations: 0 / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.4243, allocations: 23.86 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.4243, allocations: 8 kB / 1.337 GB, free: 6.98 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.0001355/0.4244, allocations: 134.3 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.4245, allocations: 23.86 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.4245, allocations: 33.77 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4245, allocations: 11.88 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4245, allocations: 0 / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4245, allocations: 0 / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.4248, allocations: 197.1 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4248, allocations: 7.984 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.425, allocations: 31.97 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.425, allocations: 0 / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.425, allocations: 4 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.425, allocations: 0 / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.425, allocations: 0 / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005842/0.4256, allocations: 324.3 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.837e-05/0.4257, allocations: 35.78 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.4257, allocations: 4 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.4259, allocations: 11.98 kB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.426, allocations: 15.97 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.426, allocations: 8 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001708/0.4261, allocations: 177.2 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4261, allocations: 0 / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002752/0.4264, allocations: 36 kB / 1.338 GB, free: 5.887 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.000173/0.4266, allocations: 107.2 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005214/0.4271, allocations: 171 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4271, allocations: 0 / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.4273, allocations: 87.86 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.4278, allocations: 52.34 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.4287, allocations: 489.5 kB / 1.339 GB, free: 4.957 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.4288, allocations: 132 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.4289, allocations: 23.42 kB / 1.339 GB, free: 4.785 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4289, allocations: 0 / 1.339 GB, free: 4.785 MB / 1.029 GB Notification: Performance of Templates: time 0.005128/0.434, allocations: 2.771 MB / 1.341 GB, free: 2.039 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.778237398015335]