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.001236/0.001236, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001438/0.001438, allocations: 213.5 kB / 23.01 MB, free: 4.566 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.02/3.02, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.001895/0.001895, allocations: 61.73 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3072, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003371/0.3106, allocations: 2.223 MB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005405/0.316, allocations: 4.266 MB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.3161, allocations: 3.938 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007487/0.3169, allocations: 191.1 kB / 1.361 GB, free: 1.223 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.3171, allocations: 83.28 kB / 1.361 GB, free: 1.141 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007403/0.3178, allocations: 334.4 kB / 1.361 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006528/0.3185, allocations: 454.6 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3186, allocations: 40.89 kB / 1.361 GB, free: 332 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.3188, allocations: 147.5 kB / 1.362 GB, free: 184 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.319, allocations: 159.3 kB / 1.362 GB, free: 24 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.319, allocations: 20 kB / 1.362 GB, free: 4 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005987/0.3196, allocations: 359.5 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3197, allocations: 119.6 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.3199, allocations: 178.9 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.3206, allocations: 0.5798 MB / 1.363 GB, free: 14.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3206, allocations: 0 / 1.363 GB, free: 14.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3206, allocations: 3.938 kB / 1.363 GB, free: 14.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3206, allocations: 0 / 1.363 GB, free: 14.77 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.0014/0.322, allocations: 0.7509 MB / 1.364 GB, free: 13.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3221, allocations: 12.03 kB / 1.364 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.3239, allocations: 312.3 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009743/0.3249, allocations: 356.6 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3249, allocations: 8.562 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.325, allocations: 11.94 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.3256, allocations: 262.2 kB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3256, allocations: 0 / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.3257, allocations: 4 kB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.3257, allocations: 4 kB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.3267, allocations: 355.6 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.3282, allocations: 0.675 MB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.3287, allocations: 226.4 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.3293, allocations: 180.7 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.953e-05/0.3293, allocations: 27.91 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3293, allocations: 34.56 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.3293, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.001716/0.3311, allocations: 0.591 MB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3311, allocations: 59.34 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.3316, allocations: 445.9 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.3316, allocations: 25.7 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.3318, allocations: 204.4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.3318, allocations: 39.64 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3319, allocations: 49.69 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3321, allocations: 358.7 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/0.3327, allocations: 300 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.3333, allocations: 305.4 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.3345, allocations: 0.5267 MB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3345, allocations: 0 / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001455/0.336, allocations: 0.7296 MB / 1.37 GB, free: 7.793 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/0.336, allocations: 49.69 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.336, allocations: 3.938 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.336, allocations: 0 / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.3365, allocations: 67.86 kB / 1.37 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3365, allocations: 0 / 1.37 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.3369, allocations: 67.7 kB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.3369, allocations: 4 kB / 1.37 GB, free: 7.598 MB / 1.061 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.0001874/0.3371, allocations: 169.7 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.3372, allocations: 39.72 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.3385, allocations: 476.8 kB / 1.37 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3385, allocations: 0 / 1.37 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3385, allocations: 0 / 1.37 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3385, allocations: 3.938 kB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.3389, allocations: 356.4 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3389, allocations: 0 / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.3393, allocations: 71.84 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3393, allocations: 0 / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.3394, allocations: 4 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3394, allocations: 0 / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3394, allocations: 0 / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.3405, allocations: 0.5205 MB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.3407, allocations: 67.66 kB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.3407, allocations: 4 kB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.3411, allocations: 31.95 kB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.3412, allocations: 19.97 kB / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.3412, allocations: 15.92 kB / 1.372 GB, free: 5.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003335/0.3415, allocations: 311 kB / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3415, allocations: 0 / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000453/0.342, allocations: 131.8 kB / 1.372 GB, free: 5.336 MB / 1.061 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.0003105/0.3423, allocations: 174.9 kB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.3437, allocations: 0.6377 MB / 1.373 GB, free: 4.508 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3437, allocations: 0 / 1.373 GB, free: 4.508 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.3442, allocations: 191.8 kB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.3447, allocations: 57.92 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.346, allocations: 0.7583 MB / 1.374 GB, free: 3.473 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.3464, allocations: 0.7987 MB / 1.374 GB, free: 2.648 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.3466, allocations: 39.41 kB / 1.375 GB, free: 2.609 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3466, allocations: 0 / 1.375 GB, free: 2.609 MB / 1.061 GB Notification: Performance of Templates: time 0.008455/0.3551, allocations: 5.738 MB / 1.38 GB, free: 12.9 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: 10.752312566997716]