Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001078/0.001078, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001109/0.001109, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 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 0.9936/0.9936, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 2.016/2.016, allocations: 429.5 MB / 0.6733 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.567e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001488/0.001513, allocations: 0.8193 MB / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001438/0.001657, allocations: 45.45 kB / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.001714, allocations: 0 / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.519e-05/0.00176, allocations: 11.86 kB / 0.879 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.017e-05/0.00185, allocations: 13.45 kB / 0.8791 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.9e-05/0.001899, allocations: 19.98 kB / 0.8791 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.002007, allocations: 59.84 kB / 0.8791 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.002148, allocations: 28.91 kB / 0.8792 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.002249, allocations: 43.83 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.002291, allocations: 16.45 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.002316, allocations: 9.156 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-06/0.002324, allocations: 4 kB / 0.8792 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.002344, allocations: 11.92 kB / 0.8792 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.002374, allocations: 19.92 kB / 0.8793 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.456e-05/0.002468, allocations: 48.27 kB / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.002471, allocations: 1.031 kB / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002471, allocations: 0 / 0.8793 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.002476, allocations: 0 / 0.8793 GB, free: 5.168 MB / 0.8386 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.0003975/0.002873, allocations: 413.3 kB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.002913, allocations: 8.031 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.002956, allocations: 18.2 kB / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.00311, allocations: 140.4 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.003124, allocations: 8.359 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.003137, allocations: 8.375 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.003284, allocations: 86.7 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.003295, allocations: 4.172 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.003306, allocations: 9.406 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.003315, allocations: 4.375 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.003363, allocations: 27.86 kB / 0.88 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.003883, allocations: 0.742 MB / 0.8807 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.428e-05/0.003977, allocations: 270.2 kB / 0.881 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.004012, allocations: 126.9 kB / 0.8811 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.00404, allocations: 122.7 kB / 0.8812 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.004091, allocations: 156.5 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.004092, allocations: 4 kB / 0.8814 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.371e-05/0.004155, allocations: 29.66 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.00422, allocations: 178.5 kB / 0.8816 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.004341, allocations: 200.1 kB / 0.8818 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.00435, allocations: 25.7 kB / 0.8818 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.004418, allocations: 174.5 kB / 0.882 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.00442, allocations: 0 / 0.882 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.004453, allocations: 39.91 kB / 0.882 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.004565, allocations: 492.1 kB / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.00458, allocations: 13.52 kB / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.004625, allocations: 77.42 kB / 0.8826 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.387e-05/0.004699, allocations: 93.44 kB / 0.8826 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.004702, allocations: 0 / 0.8826 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00013/0.004832, allocations: 89.7 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.004846, allocations: 10.5 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.004852, allocations: 0 / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.004865, allocations: 4 kB / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.004926, allocations: 15.94 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.004936, allocations: 11.92 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.004959, allocations: 7.953 kB / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.004966, allocations: 4 kB / 0.8828 GB, free: 1.324 MB / 0.8386 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 0.000109/0.005075, allocations: 283.6 kB / 0.8831 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.005139, allocations: 152.8 kB / 0.8832 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.44e-05/0.005203, allocations: 164.7 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.91e-05/0.005272, allocations: 268 kB / 0.8836 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-05/0.005348, allocations: 272 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-05/0.005437, allocations: 272 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.005639, allocations: 0.5038 MB / 0.8846 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.043e-05/0.005679, allocations: 148.8 kB / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.00572, allocations: 152.8 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.436e-05/0.005795, allocations: 268.1 kB / 0.8852 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.00587, allocations: 272 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.874e-05/0.005939, allocations: 268.1 kB / 0.8857 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.945e-05/0.006009, allocations: 264.1 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.006163, allocations: 459.9 kB / 0.8864 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.006219, allocations: 160.8 kB / 0.8865 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.006284, allocations: 264.1 kB / 0.8868 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.006336, allocations: 144.9 kB / 0.8869 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.006401, allocations: 272.3 kB / 0.8872 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.006437, allocations: 148.8 kB / 0.8873 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.006495, allocations: 149.2 kB / 0.8875 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.006495, allocations: 0 / 0.8875 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001477/0.006643, allocations: 8 kB / 0.8875 GB, free: 12.33 MB / 0.8542 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.996e-05/0.006742, allocations: 218.4 kB / 0.8877 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.584e-05/0.006838, allocations: 39.58 kB / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.006841, allocations: 0 / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.006842, allocations: 0 / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.007146, allocations: 0.7062 MB / 0.8884 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.007391, allocations: 269.7 kB / 0.8887 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.609e-05/0.007427, allocations: 63.28 kB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.007461, allocations: 13.22 kB / 0.8887 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.007484, allocations: 12.5 kB / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.007484, allocations: 0 / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.001837/0.009321, allocations: 324 kB / 0.8891 GB, free: 10.63 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_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.293656365945935]