Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001041/0.001041, 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.001152/0.001152, allocations: 161 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 0.9822/0.9822, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.929/1.929, allocations: 377.9 MB / 0.624 GB, free: 8.348 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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.592e-05, allocations: 5.406 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002133/0.002159, allocations: 0.8201 MB / 0.7608 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001697/0.002329, allocations: 52.53 kB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.002385, allocations: 2.078 kB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.099e-05/0.002426, allocations: 7.875 kB / 0.7609 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.803e-05/0.002514, allocations: 6.016 kB / 0.7609 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.741e-05/0.002571, allocations: 24.52 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.002698, allocations: 66.59 kB / 0.761 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.002817, allocations: 27.97 kB / 0.761 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.002931, allocations: 47.22 kB / 0.7611 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.66e-05/0.002968, allocations: 20.03 kB / 0.7611 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.002987, allocations: 4 kB / 0.7611 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-06/0.002994, allocations: 5.469 kB / 0.7611 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.003015, allocations: 19.91 kB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.003036, allocations: 11.94 kB / 0.7611 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.15e-05/0.003118, allocations: 39.83 kB / 0.7612 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.003121, allocations: 4.875 kB / 0.7612 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003122, allocations: 0 / 0.7612 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003125, allocations: 0.9688 kB / 0.7612 GB, free: 5.512 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.000275/0.0034, allocations: 284.5 kB / 0.7614 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.003434, allocations: 17.05 kB / 0.7614 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.003458, allocations: 12.88 kB / 0.7615 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.003572, allocations: 133.7 kB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.003582, allocations: 5.062 kB / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.003595, allocations: 8.375 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.771e-05/0.003683, allocations: 85.64 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.00369, allocations: 192 / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.003697, allocations: 384 / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.003704, allocations: 4.375 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/0.003731, allocations: 19.92 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.004076, allocations: 0.5019 MB / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.855e-05/0.004134, allocations: 179.3 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.004156, allocations: 80.14 kB / 0.7624 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.004173, allocations: 75.28 kB / 0.7625 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.004203, allocations: 105.8 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.004204, allocations: 0 / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.691e-05/0.004251, allocations: 30.45 kB / 0.7626 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.004297, allocations: 130.6 kB / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.004378, allocations: 149 kB / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.004386, allocations: 29.7 kB / 0.7629 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.004434, allocations: 124.4 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.004436, allocations: 0 / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.004462, allocations: 27.86 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.004541, allocations: 322.8 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-06/0.004547, allocations: 4 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.004579, allocations: 62.88 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.319e-05/0.004632, allocations: 65.59 kB / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.004634, allocations: 0 / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.303e-05/0.004727, allocations: 77.08 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.004739, allocations: 8 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.004744, allocations: 0 / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.004758, allocations: 11.92 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.004801, allocations: 12 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.004805, allocations: 0 / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.004827, allocations: 10.69 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.004832, allocations: 7.938 kB / 0.7636 GB, free: 2.758 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.367e-05/0.004896, allocations: 197 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.004931, allocations: 109 kB / 0.7639 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.004965, allocations: 108.7 kB / 0.764 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/0.005002, allocations: 184.3 kB / 0.7642 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.906e-05/0.005041, allocations: 188.2 kB / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-05/0.005076, allocations: 177.3 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.005206, allocations: 333.4 kB / 0.7649 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/0.005229, allocations: 104.9 kB / 0.765 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.005251, allocations: 101.9 kB / 0.7651 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.821e-05/0.005289, allocations: 184.2 kB / 0.7652 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.414e-05/0.005333, allocations: 181.2 kB / 0.7654 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.576e-05/0.005379, allocations: 180.3 kB / 0.7656 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-05/0.005423, allocations: 184.2 kB / 0.7658 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.106e-05/0.005514, allocations: 312.2 kB / 0.7661 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.00555, allocations: 112.4 kB / 0.7662 GB, free: 20 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.005607, allocations: 184.2 kB / 0.7664 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.005655, allocations: 105.2 kB / 0.7665 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.005699, allocations: 188.2 kB / 0.7666 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.005722, allocations: 109 kB / 0.7667 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.005745, allocations: 22.91 kB / 0.7668 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005745, allocations: 0 / 0.7668 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001316/0.005877, allocations: 11.95 kB / 0.7668 GB, free: 15.38 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.271e-05/0.00597, allocations: 154.5 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.799e-05/0.006028, allocations: 32.77 kB / 0.7669 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.006032, allocations: 4 kB / 0.7669 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.006034, allocations: 4 kB / 0.767 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.0001854/0.006219, allocations: 464.2 kB / 0.7674 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/0.006426, allocations: 223.9 kB / 0.7676 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.201e-05/0.006458, allocations: 60.81 kB / 0.7677 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.006492, allocations: 12.09 kB / 0.7677 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.00652, allocations: 51.38 kB / 0.7677 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/0.006521, allocations: 3.938 kB / 0.7677 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.001717/0.008237, allocations: 338.6 kB / 0.7681 GB, free: 14.02 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.099808763712645]