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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006727/0.006727, allocations: 101 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 186.7 kB / 16.67 MB, free: 5.922 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.743/2.743, allocations: 472.6 MB / 0.7453 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 67.84 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002157/1.017, allocations: 0.8349 MB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001198/1.018, allocations: 51.78 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/1.018, allocations: 0 / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/1.018, allocations: 7.875 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/1.018, allocations: 7.875 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.871e-05/1.018, allocations: 19.97 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/1.018, allocations: 63.84 kB / 1.227 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/1.018, allocations: 43.92 kB / 1.227 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/1.018, allocations: 31.8 kB / 1.227 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/1.018, allocations: 23.86 kB / 1.227 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/1.018, allocations: 8 kB / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/1.018, allocations: 8 kB / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/1.018, allocations: 15.92 kB / 1.227 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/1.018, allocations: 27.81 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/1.018, allocations: 83.14 kB / 1.227 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.018, allocations: 3.938 kB / 1.227 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.773e-06/1.018, allocations: 4 kB / 1.227 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.501e-06/1.018, allocations: 0 / 1.227 GB, free: 12.35 MB / 0.9512 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.0004599/1.019, allocations: 374.7 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.019, allocations: 12.03 kB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/1.019, allocations: 12.84 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/1.019, allocations: 192.2 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/1.019, allocations: 4.375 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/1.019, allocations: 16.38 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/1.019, allocations: 93.05 kB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.019, allocations: 192 / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/1.019, allocations: 11.88 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/1.02, allocations: 4 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/1.02, allocations: 35.92 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/1.02, allocations: 444.7 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.621e-05/1.02, allocations: 41.25 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/1.02, allocations: 17.78 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/1.02, allocations: 0 / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/1.02, allocations: 38.56 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/1.02, allocations: 0 / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001829/1.021, allocations: 57.52 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/1.021, allocations: 77.11 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/1.021, allocations: 159.9 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/1.021, allocations: 25.7 kB / 1.228 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/1.021, allocations: 108.3 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/1.021, allocations: 11.95 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/1.021, allocations: 21.67 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.021, allocations: 314.8 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/1.021, allocations: 8 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/1.021, allocations: 17.72 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/1.021, allocations: 25.66 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.021, allocations: 4 kB / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.341e-05/1.021, allocations: 69.52 kB / 1.229 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.021, allocations: 4 kB / 1.229 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.021, allocations: 3.938 kB / 1.229 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.021, allocations: 4 kB / 1.229 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/1.021, allocations: 4 kB / 1.229 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.021, allocations: 0 / 1.229 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/1.021, allocations: 11.92 kB / 1.229 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/1.021, allocations: 0 / 1.229 GB, free: 9.91 MB / 0.9512 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 0.0001005/1.022, allocations: 117.9 kB / 1.229 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/1.022, allocations: 7.953 kB / 1.229 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/1.022, allocations: 11.81 kB / 1.229 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.022, allocations: 0 / 1.229 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.022, allocations: 0 / 1.229 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.022, allocations: 0 / 1.229 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/1.022, allocations: 482.7 kB / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.022, allocations: 96 / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.876e-05/1.022, allocations: 4 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.022, allocations: 3.984 kB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/1.022, allocations: 0 / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.022, allocations: 11.94 kB / 1.23 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.022, allocations: 3.938 kB / 1.23 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/1.022, allocations: 81.95 kB / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/1.022, allocations: 89.05 kB / 1.23 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/1.022, allocations: 0 / 1.23 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/1.022, allocations: 0 / 1.23 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/1.022, allocations: 4 kB / 1.23 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/1.022, allocations: 0 / 1.23 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001085/1.023, allocations: 122.5 kB / 1.23 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.023, allocations: 0 / 1.23 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001844/1.023, allocations: 12 kB / 1.23 GB, free: 8.863 MB / 0.9512 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.0001068/1.023, allocations: 107.2 kB / 1.23 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.969e-05/1.023, allocations: 19.94 kB / 1.23 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.023, allocations: 0 / 1.23 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/1.023, allocations: 4 kB / 1.23 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/1.023, allocations: 11.94 kB / 1.23 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/1.023, allocations: 174.8 kB / 1.23 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/1.024, allocations: 0.6923 MB / 1.231 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.5e-05/1.024, allocations: 8.422 kB / 1.231 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/1.024, allocations: 11.44 kB / 1.231 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/1.024, allocations: 0 / 1.231 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.002728/1.027, allocations: 465.6 kB / 1.231 GB, free: 7.316 MB / 0.9512 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches