Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.00142/0.00142, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.00178/0.00178, allocations: 161 kB / 24.16 MB, free: 336 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.044/1.044, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.054/2.054, allocations: 377.9 MB / 0.624 GB, free: 8.398 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0.6562 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.159e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001864/0.001885, allocations: 0.8662 MB / 0.7609 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.00202, allocations: 49.44 kB / 0.761 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.002067, allocations: 0 / 0.761 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.002343, allocations: 11.86 kB / 0.761 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.843e-05/0.002432, allocations: 13.95 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.079e-05/0.002472, allocations: 17.62 kB / 0.761 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.002571, allocations: 60.94 kB / 0.7611 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.002675, allocations: 36.5 kB / 0.7611 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.002779, allocations: 48.91 kB / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.002817, allocations: 15.92 kB / 0.7612 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.002832, allocations: 4 kB / 0.7612 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.203e-06/0.002839, allocations: 4 kB / 0.7612 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.002857, allocations: 11.94 kB / 0.7612 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.002884, allocations: 20.66 kB / 0.7612 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.089e-05/0.002974, allocations: 47.77 kB / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.002976, allocations: 0.75 kB / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002977, allocations: 0 / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.00298, allocations: 0.7812 kB / 0.7612 GB, free: 5.43 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.00028/0.00326, allocations: 280.6 kB / 0.7615 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.003298, allocations: 14.22 kB / 0.7615 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.003325, allocations: 8.922 kB / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.003461, allocations: 137.6 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.003472, allocations: 8.375 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.003481, allocations: 12.31 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.453e-05/0.003576, allocations: 71.95 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.003583, allocations: 1.688 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.003593, allocations: 8.359 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.003598, allocations: 384 / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.003631, allocations: 23.88 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.004, allocations: 0.4984 MB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.499e-05/0.004065, allocations: 169.1 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.004088, allocations: 85.38 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.004106, allocations: 79.28 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.004145, allocations: 105.8 kB / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.004146, allocations: 96 / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.759e-05/0.004204, allocations: 36.52 kB / 0.7627 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.004249, allocations: 126.7 kB / 0.7628 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.004348, allocations: 150.6 kB / 0.763 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.004356, allocations: 25.7 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.004414, allocations: 127.8 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.004417, allocations: 0 / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.00445, allocations: 21.67 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.004536, allocations: 329.5 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.004543, allocations: 4 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.894e-05/0.004582, allocations: 58.83 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.004645, allocations: 60.64 kB / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.004648, allocations: 4 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001077/0.004756, allocations: 78.27 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.00477, allocations: 5.719 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.004776, allocations: 4 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.004789, allocations: 0 / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.004844, allocations: 19.92 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.004848, allocations: 4 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.004882, allocations: 11.94 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.004888, allocations: 4 kB / 0.7637 GB, free: 2.684 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 7.249e-05/0.004961, allocations: 193 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.005007, allocations: 111.9 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.005049, allocations: 112.8 kB / 0.7641 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.75e-05/0.005097, allocations: 188.2 kB / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.344e-05/0.00514, allocations: 176.3 kB / 0.7645 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-05/0.005185, allocations: 180.2 kB / 0.7646 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.005352, allocations: 341.3 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/0.005378, allocations: 101 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.005406, allocations: 108.9 kB / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.492e-05/0.005451, allocations: 186 kB / 0.7653 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.005494, allocations: 176.3 kB / 0.7655 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-05/0.005541, allocations: 180.2 kB / 0.7657 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-05/0.005588, allocations: 184.2 kB / 0.7659 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.005697, allocations: 306.2 kB / 0.7661 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.005761, allocations: 120.9 kB / 0.7663 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.005817, allocations: 184.2 kB / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.005884, allocations: 101.3 kB / 0.7665 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.005933, allocations: 180.2 kB / 0.7667 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.005963, allocations: 109 kB / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.005999, allocations: 31.05 kB / 0.7668 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005999, allocations: 3.906 kB / 0.7668 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002162/0.006215, allocations: 15.95 kB / 0.7669 GB, free: 15.3 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 9.685e-05/0.006312, allocations: 151.7 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.729e-05/0.006379, allocations: 32.72 kB / 0.767 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.006383, allocations: 0 / 0.767 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.006385, allocations: 4 kB / 0.767 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.006632, allocations: 470.7 kB / 0.7675 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.006861, allocations: 224 kB / 0.7677 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.651e-05/0.006897, allocations: 59.34 kB / 0.7678 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.006932, allocations: 8.719 kB / 0.7678 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.006963, allocations: 51.38 kB / 0.7678 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of SimCode: time 7.92e-07/0.006964, allocations: 1.562 kB / 0.7678 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.002201/0.009165, allocations: 333.7 kB / 0.7681 GB, free: 13.95 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.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.359825108665973]