Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001639/0.001639, 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.001831/0.001831, allocations: 218.5 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.536/1.536, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.385/3.385, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00211/0.00211, allocations: 64.61 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3985, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003813/0.4023, allocations: 2.094 MB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005684/0.408, allocations: 3.923 MB / 1.371 GB, free: 7.516 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.4082, allocations: 7.938 kB / 1.371 GB, free: 7.508 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008553/0.409, allocations: 179.1 kB / 1.371 GB, free: 7.332 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.4092, allocations: 75.34 kB / 1.371 GB, free: 7.258 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007923/0.41, allocations: 339.2 kB / 1.371 GB, free: 6.926 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007042/0.4107, allocations: 454.6 kB / 1.372 GB, free: 6.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.4108, allocations: 40.84 kB / 1.372 GB, free: 6.441 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.411, allocations: 139.5 kB / 1.372 GB, free: 6.305 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.4112, allocations: 155.3 kB / 1.372 GB, free: 6.152 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.4113, allocations: 24 kB / 1.372 GB, free: 6.129 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005659/0.4118, allocations: 323.5 kB / 1.372 GB, free: 5.812 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.412, allocations: 115.6 kB / 1.372 GB, free: 5.699 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.4122, allocations: 147.2 kB / 1.372 GB, free: 5.555 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009967/0.4132, allocations: 0.5798 MB / 1.373 GB, free: 4.973 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4132, allocations: 0 / 1.373 GB, free: 4.973 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4132, allocations: 0 / 1.373 GB, free: 4.973 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.4132, allocations: 0 / 1.373 GB, free: 4.973 MB / 1.061 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.002088/0.4153, allocations: 0.7431 MB / 1.374 GB, free: 4.191 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4153, allocations: 12.03 kB / 1.374 GB, free: 4.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.4176, allocations: 320.2 kB / 1.374 GB, free: 3.867 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.4187, allocations: 352.7 kB / 1.374 GB, free: 3.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.4187, allocations: 8.562 kB / 1.374 GB, free: 3.492 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.4188, allocations: 15.94 kB / 1.374 GB, free: 3.477 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.4195, allocations: 265.4 kB / 1.375 GB, free: 3.211 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4195, allocations: 0 / 1.375 GB, free: 3.211 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.4195, allocations: 4 kB / 1.375 GB, free: 3.207 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4195, allocations: 0 / 1.375 GB, free: 3.207 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.4207, allocations: 347.6 kB / 1.375 GB, free: 2.867 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.4224, allocations: 0.617 MB / 1.376 GB, free: 2.219 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.423, allocations: 218.4 kB / 1.376 GB, free: 1.996 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.4236, allocations: 191.7 kB / 1.376 GB, free: 1.809 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.839e-05/0.4236, allocations: 12 kB / 1.376 GB, free: 1.797 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.4237, allocations: 42.55 kB / 1.376 GB, free: 1.746 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.4237, allocations: 3.938 kB / 1.376 GB, free: 1.742 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.001885/0.4255, allocations: 0.5871 MB / 1.377 GB, free: 1.148 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4256, allocations: 51.41 kB / 1.377 GB, free: 1.086 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.4261, allocations: 449.9 kB / 1.377 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.4262, allocations: 25.7 kB / 1.377 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.4264, allocations: 200.4 kB / 1.377 GB, free: 416 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.4264, allocations: 47.64 kB / 1.377 GB, free: 368 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.4265, allocations: 53.67 kB / 1.377 GB, free: 308 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000287/0.4268, allocations: 354.7 kB / 1.378 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007388/0.4276, allocations: 345.7 kB / 1.378 GB, free: 15.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007282/0.4283, allocations: 342 kB / 1.378 GB, free: 15.26 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.4296, allocations: 0.5345 MB / 1.379 GB, free: 14.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4296, allocations: 0 / 1.379 GB, free: 14.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001667/0.4313, allocations: 0.7829 MB / 1.38 GB, free: 13.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.265e-05/0.4314, allocations: 53.62 kB / 1.38 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4314, allocations: 0 / 1.38 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.4314, allocations: 0 / 1.38 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.4319, allocations: 67.91 kB / 1.38 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4319, allocations: 4 kB / 1.38 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.4323, allocations: 63.72 kB / 1.38 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.4324, allocations: 7.984 kB / 1.38 GB, free: 13.72 MB / 1.076 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.0002395/0.4326, allocations: 165.7 kB / 1.38 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/0.4327, allocations: 39.77 kB / 1.38 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.4341, allocations: 468.8 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4341, allocations: 0 / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4341, allocations: 0 / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4341, allocations: 0 / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.4346, allocations: 292.9 kB / 1.381 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4346, allocations: 0 / 1.381 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.435, allocations: 67.84 kB / 1.381 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.435, allocations: 8 kB / 1.381 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.435, allocations: 0 / 1.381 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.435, allocations: 0 / 1.381 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.435, allocations: 3.938 kB / 1.381 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.4363, allocations: 0.5184 MB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.4365, allocations: 71.61 kB / 1.381 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.4366, allocations: 4 kB / 1.381 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.4369, allocations: 39.95 kB / 1.381 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.437, allocations: 15.97 kB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.437, allocations: 11.98 kB / 1.381 GB, free: 11.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003881/0.4374, allocations: 311 kB / 1.382 GB, free: 11.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4374, allocations: 0 / 1.382 GB, free: 11.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005255/0.438, allocations: 127.9 kB / 1.382 GB, free: 11.55 MB / 1.076 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.0003995/0.4384, allocations: 163 kB / 1.382 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.4399, allocations: 0.6537 MB / 1.383 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4399, allocations: 0 / 1.383 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.4405, allocations: 183.8 kB / 1.383 GB, free: 10.53 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.441, allocations: 61.86 kB / 1.383 GB, free: 10.47 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4426, allocations: 0.7559 MB / 1.384 GB, free: 9.676 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.4428, allocations: 195.5 kB / 1.384 GB, free: 9.465 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.443, allocations: 39.41 kB / 1.384 GB, free: 9.426 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/0.443, allocations: 0 / 1.384 GB, free: 9.426 MB / 1.076 GB Notification: Performance of Templates: time 0.01018/0.4532, allocations: 5.898 MB / 1.39 GB, free: 3.566 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.546476257033646]