Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001368/0.001368, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001494/0.001494, allocations: 208.8 kB / 22.99 MB, free: 4.984 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.421/1.421, allocations: 230.6 MB / 256.8 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.192/3.192, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] 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.ASHRAESolarGain,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.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,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.ASHRAESolarGain") [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.002008/0.002008, allocations: 65.91 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3091, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003589/0.3126, allocations: 2.113 MB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005672/0.3183, allocations: 3.931 MB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.3184, allocations: 3.938 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.3192, allocations: 179.1 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.3194, allocations: 79.27 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007669/0.3202, allocations: 340.9 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.3208, allocations: 446.6 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.321, allocations: 44.89 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.3211, allocations: 143.5 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.3214, allocations: 163.3 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.3214, allocations: 20 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000572/0.322, allocations: 343.5 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.3221, allocations: 115.6 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.3223, allocations: 139.2 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.323, allocations: 0.5837 MB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.323, allocations: 4 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.323, allocations: 4 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.323, allocations: 7.938 kB / 1.335 GB, free: 8.371 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001589/0.3246, allocations: 0.7366 MB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.3246, allocations: 12.03 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.3261, allocations: 240.4 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.3271, allocations: 352.7 kB / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3271, allocations: 12.5 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.3271, allocations: 19.94 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.3279, allocations: 250.9 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3279, allocations: 0 / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.3279, allocations: 4 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.3279, allocations: 4 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.329, allocations: 335.6 kB / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.3305, allocations: 0.5821 MB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/0.331, allocations: 206.4 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/0.3316, allocations: 176.7 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.532e-05/0.3316, allocations: 23.98 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.3317, allocations: 30.56 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.3317, allocations: 0 / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.00182/0.3335, allocations: 0.57 MB / 1.339 GB, free: 4.727 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3335, allocations: 55.41 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.334, allocations: 453.8 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.3341, allocations: 25.7 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.3342, allocations: 192.5 kB / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.3343, allocations: 55.53 kB / 1.34 GB, free: 3.926 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3344, allocations: 49.69 kB / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3346, allocations: 358.7 kB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000695/0.3353, allocations: 333.7 kB / 1.34 GB, free: 3.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/0.3359, allocations: 338 kB / 1.341 GB, free: 2.844 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.3372, allocations: 0.5164 MB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3372, allocations: 0 / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001597/0.3388, allocations: 0.7665 MB / 1.342 GB, free: 1.535 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.3388, allocations: 45.69 kB / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3388, allocations: 0 / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3389, allocations: 0 / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.3393, allocations: 71.84 kB / 1.342 GB, free: 1.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3393, allocations: 3.938 kB / 1.342 GB, free: 1.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.3397, allocations: 59.73 kB / 1.342 GB, free: 1.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.3398, allocations: 11.98 kB / 1.342 GB, free: 1.34 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 (18): * Single equations (assignments): 17 * 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.0001791/0.3399, allocations: 162.2 kB / 1.342 GB, free: 1.172 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.34, allocations: 39.72 kB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.3413, allocations: 444.8 kB / 1.343 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3413, allocations: 0 / 1.343 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3413, allocations: 0 / 1.343 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.3413, allocations: 3.984 kB / 1.343 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.3417, allocations: 285.1 kB / 1.343 GB, free: 388 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3417, allocations: 0 / 1.343 GB, free: 388 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.3422, allocations: 63.91 kB / 1.343 GB, free: 324 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3422, allocations: 3.938 kB / 1.343 GB, free: 320 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.3422, allocations: 4 kB / 1.343 GB, free: 316 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3422, allocations: 0 / 1.343 GB, free: 316 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3422, allocations: 4 kB / 1.343 GB, free: 312 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.3434, allocations: 0.4951 MB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.3436, allocations: 67.61 kB / 1.344 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.3437, allocations: 0 / 1.344 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.344, allocations: 39.95 kB / 1.344 GB, free: 15.69 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.3441, allocations: 15.97 kB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.3441, allocations: 7.984 kB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003408/0.3445, allocations: 311.1 kB / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3445, allocations: 0 / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005082/0.345, allocations: 135.8 kB / 1.344 GB, free: 15.23 MB / 1.045 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.0003547/0.3453, allocations: 182.9 kB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.3468, allocations: 0.6301 MB / 1.345 GB, free: 14.4 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3468, allocations: 4 kB / 1.345 GB, free: 14.4 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005681/0.3474, allocations: 183.8 kB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.3479, allocations: 54.48 kB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.3493, allocations: 0.7074 MB / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3495, allocations: 195.5 kB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000244/0.3498, allocations: 61.89 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.3499, allocations: 27.42 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/0.3499, allocations: 0 / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of Templates: time 0.01166/0.3615, allocations: 6.211 MB / 1.352 GB, free: 6.992 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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: 8.592541721009184]