Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 176.8 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.73/0.7305, allocations: 142.4 MB / 0.9557 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001099/0.7316, allocations: 0.5421 MB / 0.9562 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001023/0.7317, allocations: 37.48 kB / 0.9563 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.7318, allocations: 1.062 kB / 0.9563 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.7318, allocations: 7.922 kB / 0.9563 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.366e-05/0.7319, allocations: 12.92 kB / 0.9563 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.741e-05/0.732, allocations: 15.48 kB / 0.9563 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.7321, allocations: 51.48 kB / 0.9564 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.7322, allocations: 46.45 kB / 0.9564 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.7323, allocations: 17.12 kB / 0.9564 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.7324, allocations: 20.67 kB / 0.9564 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.7324, allocations: 1.312 kB / 0.9564 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.7324, allocations: 6.188 kB / 0.9564 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.7324, allocations: 10.31 kB / 0.9565 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.7325, allocations: 50.38 kB / 0.9565 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.664e-05/0.7325, allocations: 57.16 kB / 0.9566 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.7326, allocations: 0 / 0.9566 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7326, allocations: 0 / 0.9566 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.7326, allocations: 0 / 0.9566 GB, free: 6.992 MB / 0.7169 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.0003429/0.7329, allocations: 358.9 kB / 0.9569 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.733, allocations: 7.812 kB / 0.9569 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.733, allocations: 18.62 kB / 0.9569 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.7332, allocations: 197.7 kB / 0.9571 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.7332, allocations: 7.406 kB / 0.9571 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.7332, allocations: 9.469 kB / 0.9571 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.7334, allocations: 89.14 kB / 0.9572 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.7334, allocations: 4.906 kB / 0.9572 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.7334, allocations: 8.906 kB / 0.9572 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.7334, allocations: 1.844 kB / 0.9572 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.7335, allocations: 39.7 kB / 0.9573 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.734, allocations: 442 kB / 0.9577 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.47e-05/0.7341, allocations: 40.8 kB / 0.9577 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.7341, allocations: 20.03 kB / 0.9577 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.7341, allocations: 0 / 0.9577 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.7341, allocations: 35.97 kB / 0.9578 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.7342, allocations: 1.219 kB / 0.9578 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.7343, allocations: 54.86 kB / 0.9578 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.7344, allocations: 89.12 kB / 0.9579 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.7345, allocations: 160.3 kB / 0.9581 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-06/0.7345, allocations: 25.7 kB / 0.9581 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.7346, allocations: 109.1 kB / 0.9582 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-06/0.7346, allocations: 4.875 kB / 0.9582 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.7346, allocations: 14.77 kB / 0.9582 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.7347, allocations: 316.7 kB / 0.9585 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.7347, allocations: 6.906 kB / 0.9585 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.7347, allocations: 23.11 kB / 0.9586 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.7348, allocations: 30.16 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.7348, allocations: 1.094 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.987e-05/0.7349, allocations: 54.44 kB / 0.9586 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.7349, allocations: 7.25 kB / 0.9586 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.7349, allocations: 5 kB / 0.9586 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7349, allocations: 4.062 kB / 0.9586 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.735, allocations: 9.844 kB / 0.9587 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.735, allocations: 5.234 kB / 0.9587 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.735, allocations: 6.188 kB / 0.9587 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.735, allocations: 5.156 kB / 0.9587 GB, free: 4.824 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.719e-05/0.7351, allocations: 109.5 kB / 0.9588 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.7352, allocations: 8.188 kB / 0.9588 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.7352, allocations: 18.23 kB / 0.9588 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7352, allocations: 1.219 kB / 0.9588 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7352, allocations: 4 kB / 0.9588 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7352, allocations: 8.906 kB / 0.9588 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.7355, allocations: 470.5 kB / 0.9593 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7355, allocations: 0.9688 kB / 0.9593 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.7355, allocations: 2.312 kB / 0.9593 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7355, allocations: 1.062 kB / 0.9593 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.7355, allocations: 1.094 kB / 0.9593 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.7355, allocations: 5.156 kB / 0.9593 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7356, allocations: 3.984 kB / 0.9593 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.885e-05/0.7356, allocations: 79.47 kB / 0.9594 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.7357, allocations: 96.09 kB / 0.9594 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.7357, allocations: 0 / 0.9594 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/0.7357, allocations: 1.125 kB / 0.9594 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.7357, allocations: 5.156 kB / 0.9595 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.7357, allocations: 1.156 kB / 0.9595 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.7358, allocations: 121.9 kB / 0.9596 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7358, allocations: 0 / 0.9596 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001841/0.736, allocations: 7.75 kB / 0.9596 GB, free: 3.879 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 0.000136/0.7362, allocations: 95.84 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.427e-05/0.7363, allocations: 22.61 kB / 0.9597 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7363, allocations: 9.375 kB / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.7363, allocations: 7.438 kB / 0.9597 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.7365, allocations: 13.92 kB / 0.9597 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.7368, allocations: 202.8 kB / 0.9599 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.7369, allocations: 0.6947 MB / 0.9606 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.7369, allocations: 11.66 kB / 0.9606 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of SimCode: time 1.172e-06/0.7369, allocations: 0 / 0.9606 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.00215/0.7391, allocations: 0.8539 MB / 0.9614 GB, free: 2.402 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches