Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001336/0.001336, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001423/0.001423, allocations: 165 kB / 24.17 MB, free: 332 kB / 18.57 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.026/1.026, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.063/2.063, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.6e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001333/0.001349, allocations: 0.8674 MB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001097/0.001459, allocations: 47.72 kB / 0.761 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.001499, allocations: 2.406 kB / 0.761 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.001531, allocations: 11.86 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.001597, allocations: 13.72 kB / 0.761 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.631e-05/0.001634, allocations: 19.98 kB / 0.761 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.508e-05/0.001719, allocations: 63.25 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.001816, allocations: 39.94 kB / 0.7611 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.001901, allocations: 37.88 kB / 0.7611 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.507e-05/0.001936, allocations: 12.58 kB / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.001952, allocations: 9.25 kB / 0.7612 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-06/0.001958, allocations: 4 kB / 0.7612 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.001975, allocations: 11.92 kB / 0.7612 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.001997, allocations: 24.83 kB / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.337e-05/0.002071, allocations: 43.77 kB / 0.7612 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.002072, allocations: 1.031 kB / 0.7612 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002073, allocations: 0 / 0.7612 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.002076, allocations: 0 / 0.7612 GB, free: 5.387 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002476/0.002324, allocations: 285.2 kB / 0.7615 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.002351, allocations: 8.031 kB / 0.7615 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.002377, allocations: 18.7 kB / 0.7615 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.002486, allocations: 129.6 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.002497, allocations: 12.36 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-06/0.002505, allocations: 4.375 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.547e-05/0.002591, allocations: 83.02 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.002598, allocations: 192 / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.002606, allocations: 8.375 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.002612, allocations: 1.312 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.781e-05/0.002639, allocations: 23.86 kB / 0.7618 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.002952, allocations: 0.4982 MB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.02e-05/0.003003, allocations: 169.1 kB / 0.7624 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.003022, allocations: 80.89 kB / 0.7625 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.003038, allocations: 75.28 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.003071, allocations: 114.6 kB / 0.7627 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.003071, allocations: 0 / 0.7627 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.806e-05/0.003119, allocations: 35.75 kB / 0.7627 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.003155, allocations: 130.7 kB / 0.7629 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.003231, allocations: 144.1 kB / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.003239, allocations: 25.7 kB / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.003285, allocations: 127.7 kB / 0.7631 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.003288, allocations: 4 kB / 0.7631 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.003314, allocations: 26.84 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.003382, allocations: 322.8 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-06/0.003388, allocations: 7.984 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.003416, allocations: 55.69 kB / 0.7635 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.904e-05/0.003465, allocations: 69.09 kB / 0.7636 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003467, allocations: 2.75 kB / 0.7636 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.935e-05/0.003546, allocations: 73.48 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.003556, allocations: 4 kB / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.00356, allocations: 1.344 kB / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.003571, allocations: 4 kB / 0.7637 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.029e-05/0.003611, allocations: 15.94 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.003616, allocations: 9.141 kB / 0.7637 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.003639, allocations: 15.88 kB / 0.7637 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.003644, allocations: 8 kB / 0.7637 GB, free: 2.625 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 6.245e-05/0.003707, allocations: 186.8 kB / 0.7639 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.003744, allocations: 108.9 kB / 0.764 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.003777, allocations: 116.8 kB / 0.7641 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/0.003814, allocations: 180.2 kB / 0.7643 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-05/0.003851, allocations: 180.9 kB / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.73e-05/0.003888, allocations: 176.3 kB / 0.7646 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.004009, allocations: 334 kB / 0.765 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/0.004032, allocations: 113 kB / 0.7651 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.004055, allocations: 105.4 kB / 0.7652 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.459e-05/0.004089, allocations: 179.7 kB / 0.7653 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.004128, allocations: 180.3 kB / 0.7655 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003327/0.004461, allocations: 180.2 kB / 0.7657 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-05/0.004498, allocations: 176.3 kB / 0.7658 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.218e-05/0.00458, allocations: 315.7 kB / 0.7661 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.539e-05/0.004626, allocations: 120.9 kB / 0.7663 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.004669, allocations: 180.2 kB / 0.7664 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.004712, allocations: 105.3 kB / 0.7665 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.00475, allocations: 180.2 kB / 0.7667 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.004772, allocations: 107.5 kB / 0.7668 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.042e-05/0.004792, allocations: 31.06 kB / 0.7668 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004792, allocations: 0 / 0.7668 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001274/0.00492, allocations: 15.95 kB / 0.7669 GB, free: 15.26 MB / 0.7292 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 (0): * Single equations (assignments): 0 * 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 7.023e-05/0.00499, allocations: 151.7 kB / 0.767 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.17e-05/0.005042, allocations: 34.23 kB / 0.767 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.005044, allocations: 0 / 0.767 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.005045, allocations: 1.5 kB / 0.767 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.005226, allocations: 467.6 kB / 0.7675 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.005411, allocations: 224 kB / 0.7677 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.163e-05/0.005442, allocations: 60.12 kB / 0.7678 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.005471, allocations: 6.453 kB / 0.7678 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.005501, allocations: 56.59 kB / 0.7678 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of SimCode: time 3.71e-07/0.005501, allocations: 0 / 0.7678 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.001695/0.007196, allocations: 336.4 kB / 0.7681 GB, free: 13.91 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2165653090924025]