Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.001079/0.001079, allocations: 80.8 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.001817/0.001817, 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.028/1.028, allocations: 177.1 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 1.958/1.958, allocations: 377.9 MB / 0.624 GB, free: 8.328 MB / 0.5886 GB " [Timeout remaining time 178] 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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.743e-05, allocations: 6.25 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001427/0.001445, allocations: 0.8257 MB / 0.7608 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.001574, allocations: 44.88 kB / 0.7609 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.001614, allocations: 2.672 kB / 0.7609 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.001646, allocations: 11.86 kB / 0.7609 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.395e-05/0.00172, allocations: 13.94 kB / 0.7609 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.815e-05/0.001758, allocations: 19.98 kB / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.001852, allocations: 66.77 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.001946, allocations: 35.95 kB / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.721e-05/0.002043, allocations: 43.61 kB / 0.7611 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.52e-05/0.002078, allocations: 15.86 kB / 0.7611 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.002095, allocations: 4 kB / 0.7611 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-06/0.002102, allocations: 5.094 kB / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.002121, allocations: 19.91 kB / 0.7611 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.002144, allocations: 20.88 kB / 0.7611 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.472e-05/0.002218, allocations: 35.83 kB / 0.7612 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.00222, allocations: 0 / 0.7612 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.7e-07/0.002221, allocations: 4.688 kB / 0.7612 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.534e-06/0.002223, allocations: 3.938 kB / 0.7612 GB, free: 5.492 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.0002799/0.002503, allocations: 286.3 kB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.002535, allocations: 8.031 kB / 0.7614 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.002563, allocations: 16.92 kB / 0.7615 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.002679, allocations: 129.6 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.002689, allocations: 9.125 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.002701, allocations: 4.375 kB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.564e-05/0.002786, allocations: 83.39 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.002793, allocations: 192 / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.0028, allocations: 4.375 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.002806, allocations: 4.375 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.00283, allocations: 19.88 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.003151, allocations: 0.4979 MB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.637e-05/0.003217, allocations: 173.3 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.003239, allocations: 84.83 kB / 0.7624 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.003254, allocations: 75.91 kB / 0.7625 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.003287, allocations: 109.8 kB / 0.7626 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.003288, allocations: 6.188 kB / 0.7626 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.173e-05/0.00334, allocations: 25.7 kB / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.003381, allocations: 126.7 kB / 0.7628 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.003464, allocations: 149 kB / 0.7629 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.003472, allocations: 25.7 kB / 0.7629 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.003523, allocations: 127.8 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.003525, allocations: 1.594 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.003552, allocations: 29.66 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.765e-05/0.003619, allocations: 318.8 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-06/0.003625, allocations: 7.938 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-05/0.003654, allocations: 60.12 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.003707, allocations: 74.98 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.003709, allocations: 0 / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.218e-05/0.003791, allocations: 65.55 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.003803, allocations: 14.69 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.003807, allocations: 3.938 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.003822, allocations: 4 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.00387, allocations: 19.98 kB / 0.7636 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.003873, allocations: 0 / 0.7636 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.003896, allocations: 7.938 kB / 0.7636 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.0039, allocations: 4 kB / 0.7636 GB, free: 2.746 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.891e-05/0.003969, allocations: 194 kB / 0.7638 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.004006, allocations: 113 kB / 0.7639 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.004041, allocations: 105.7 kB / 0.764 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.985e-05/0.004081, allocations: 184.2 kB / 0.7642 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-05/0.004124, allocations: 176.3 kB / 0.7644 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.633e-05/0.00417, allocations: 189.1 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.004319, allocations: 333.4 kB / 0.7649 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/0.004346, allocations: 101.5 kB / 0.765 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.004379, allocations: 112.9 kB / 0.7651 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.832e-05/0.004427, allocations: 179.7 kB / 0.7652 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.004477, allocations: 180.2 kB / 0.7654 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-05/0.004525, allocations: 184.2 kB / 0.7656 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.731e-05/0.004572, allocations: 180.2 kB / 0.7658 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.004693, allocations: 315.7 kB / 0.7661 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.004744, allocations: 116.9 kB / 0.7662 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.00481, allocations: 176.3 kB / 0.7663 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.00486, allocations: 105.2 kB / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.00524, allocations: 180.3 kB / 0.7666 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.005269, allocations: 111.8 kB / 0.7667 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.769e-05/0.005297, allocations: 28.83 kB / 0.7668 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005297, allocations: 0 / 0.7668 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000134/0.005431, allocations: 11.95 kB / 0.7668 GB, free: 15.37 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 8.693e-05/0.005518, allocations: 155.6 kB / 0.7669 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.138e-05/0.005579, allocations: 27.5 kB / 0.7669 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.005584, allocations: 8 kB / 0.7669 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.005584, allocations: 0 / 0.7669 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.005761, allocations: 463.6 kB / 0.7674 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.00596, allocations: 224 kB / 0.7676 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.852e-05/0.005989, allocations: 63.06 kB / 0.7677 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.006021, allocations: 8.719 kB / 0.7677 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.006052, allocations: 55.31 kB / 0.7677 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of SimCode: time 3.9e-07/0.006052, allocations: 0 / 0.7677 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.00175/0.007803, allocations: 343 kB / 0.7681 GB, free: 14.01 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.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.1822087951004505]