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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.275/2.275, allocations: 390.3 MB / 402.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 176.4 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 221.3 MB / 0.7915 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.0008488, allocations: 91.95 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.51e-05/6.552e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3235, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.861/1.184, allocations: 149.6 MB / 1.365 GB, free: 4.539 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.185, allocations: 61.78 kB / 1.365 GB, free: 4.508 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003659/1.188, allocations: 1.096 MB / 1.366 GB, free: 3.539 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.653e-06/1.188, allocations: 4 kB / 1.366 GB, free: 3.535 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.156e-06/1.189, allocations: 0 / 1.366 GB, free: 3.535 MB / 0.823 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.0004138/1.189, allocations: 354 kB / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.189, allocations: 8.031 kB / 1.366 GB, free: 3.145 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/1.189, allocations: 11.86 kB / 1.366 GB, free: 3.133 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/1.189, allocations: 182.9 kB / 1.366 GB, free: 2.914 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/1.189, allocations: 0 / 1.366 GB, free: 2.914 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/1.189, allocations: 11.44 kB / 1.366 GB, free: 2.906 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/1.19, allocations: 88.58 kB / 1.367 GB, free: 2.828 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.19, allocations: 0 / 1.367 GB, free: 2.828 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/1.19, allocations: 4 kB / 1.367 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/1.19, allocations: 0 / 1.367 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/1.19, allocations: 41.31 kB / 1.367 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/1.191, allocations: 449.6 kB / 1.367 GB, free: 2.336 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/1.191, allocations: 46.03 kB / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/1.191, allocations: 21.16 kB / 1.367 GB, free: 2.254 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/1.191, allocations: 0 / 1.367 GB, free: 2.254 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/1.191, allocations: 31.44 kB / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/1.191, allocations: 0 / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002114/1.191, allocations: 56.91 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/1.191, allocations: 77.11 kB / 1.367 GB, free: 2.062 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/1.191, allocations: 145.6 kB / 1.367 GB, free: 1.93 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/1.191, allocations: 27.67 kB / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/1.191, allocations: 110.3 kB / 1.368 GB, free: 1.797 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/1.191, allocations: 3.906 kB / 1.368 GB, free: 1.793 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/1.191, allocations: 4 kB / 1.368 GB, free: 1.789 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.192, allocations: 322.7 kB / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/1.192, allocations: 15.25 kB / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/1.192, allocations: 16.78 kB / 1.368 GB, free: 1.438 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.496e-05/1.192, allocations: 8 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.192, allocations: 0 / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001327/1.192, allocations: 60.53 kB / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.192, allocations: 9.406 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.192, allocations: 4.062 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.192, allocations: 0 / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/1.192, allocations: 8 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.192, allocations: 0 / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/1.192, allocations: 7.844 kB / 1.368 GB, free: 1.344 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/1.192, allocations: 4 kB / 1.368 GB, free: 1.34 MB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.09e-05/1.192, allocations: 108.5 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/1.192, allocations: 15.89 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/1.192, allocations: 15.22 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.192, allocations: 4 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.192, allocations: 0 / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.192, allocations: 0 / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/1.193, allocations: 467.2 kB / 1.369 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.193, allocations: 96 / 1.369 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/1.193, allocations: 7.984 kB / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.193, allocations: 3.984 kB / 1.369 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/1.193, allocations: 4 kB / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.193, allocations: 4.062 kB / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.193, allocations: 0 / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/1.193, allocations: 91.33 kB / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/1.193, allocations: 89 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/1.193, allocations: 3.938 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/1.193, allocations: 4.031 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/1.193, allocations: 4 kB / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/1.193, allocations: 0 / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001298/1.193, allocations: 124.3 kB / 1.369 GB, free: 352 kB / 0.823 GB Notification: Performance of sort global known variables: time 2.8e-07/1.193, allocations: 0 / 1.369 GB, free: 352 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003212/1.194, allocations: 11.81 kB / 1.369 GB, free: 344 kB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000145/1.194, allocations: 100.5 kB / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.302e-05/1.194, allocations: 23.88 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.194, allocations: 0 / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.716e-05/1.194, allocations: 4 kB / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/1.194, allocations: 7.938 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/1.195, allocations: 104.6 kB / 1.369 GB, free: 76 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/1.195, allocations: 0.7045 MB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.332e-05/1.195, allocations: 8.422 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/1.195, allocations: 11.44 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.195, allocations: 0 / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of Templates: time 0.003184/1.198, allocations: 422.4 kB / 1.37 GB, free: 14.92 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches