Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001109/0.001109, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.441 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.758/2.758, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004028, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8299, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001024/0.831, allocations: 0.5198 MB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.8311, allocations: 41.22 kB / 0.955 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.8312, allocations: 1.406 kB / 0.955 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.8312, allocations: 3.938 kB / 0.955 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.8313, allocations: 9.344 kB / 0.955 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.463e-05/0.8314, allocations: 14.8 kB / 0.955 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.8315, allocations: 57.86 kB / 0.9551 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.8317, allocations: 27.64 kB / 0.9551 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.8317, allocations: 20.67 kB / 0.9551 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.8318, allocations: 21.55 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.8318, allocations: 1.312 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.8318, allocations: 1.469 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.8319, allocations: 10.72 kB / 0.9552 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.8319, allocations: 36.48 kB / 0.9552 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.864e-05/0.832, allocations: 50.47 kB / 0.9552 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.832, allocations: 0 / 0.9552 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.832, allocations: 0 / 0.9552 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.832, allocations: 1.094 kB / 0.9552 GB, free: 7.09 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.0004125/0.8324, allocations: 375.1 kB / 0.9556 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.8325, allocations: 9.906 kB / 0.9556 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.8325, allocations: 20.52 kB / 0.9556 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.8327, allocations: 185.1 kB / 0.9558 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.8328, allocations: 3.812 kB / 0.9558 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.8328, allocations: 7.781 kB / 0.9558 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.833, allocations: 91.75 kB / 0.9559 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.833, allocations: 4 kB / 0.9559 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.833, allocations: 4 kB / 0.9559 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.833, allocations: 6.812 kB / 0.9559 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.8331, allocations: 42.31 kB / 0.956 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.8337, allocations: 442.4 kB / 0.9564 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.713e-05/0.8337, allocations: 45.22 kB / 0.9564 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.8338, allocations: 15.5 kB / 0.9564 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.8338, allocations: 1.062 kB / 0.9564 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.8338, allocations: 39.48 kB / 0.9565 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8338, allocations: 4 kB / 0.9565 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000181/0.834, allocations: 51.86 kB / 0.9565 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.834, allocations: 77.11 kB / 0.9566 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.8342, allocations: 158.7 kB / 0.9567 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.8342, allocations: 30.64 kB / 0.9568 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.8343, allocations: 104 kB / 0.9569 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.8343, allocations: 8.938 kB / 0.9569 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.8343, allocations: 1.344 kB / 0.9569 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.8344, allocations: 328.2 kB / 0.9572 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.8344, allocations: 7.844 kB / 0.9572 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.8344, allocations: 18.31 kB / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.486e-05/0.8345, allocations: 8.969 kB / 0.9572 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8345, allocations: 0 / 0.9572 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.648e-05/0.8345, allocations: 58.59 kB / 0.9573 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8346, allocations: 9.125 kB / 0.9573 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.8346, allocations: 4.875 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.8346, allocations: 5 kB / 0.9573 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.646e-05/0.8347, allocations: 6.062 kB / 0.9573 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.8347, allocations: 0 / 0.9573 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.8347, allocations: 7.141 kB / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.8347, allocations: 1 kB / 0.9573 GB, free: 4.961 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.8348, allocations: 117.5 kB / 0.9574 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.8349, allocations: 7.875 kB / 0.9574 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.8349, allocations: 10.12 kB / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.8349, allocations: 1.219 kB / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8349, allocations: 1.062 kB / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8349, allocations: 0.875 kB / 0.9575 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.8352, allocations: 478 kB / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8352, allocations: 0 / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.8352, allocations: 4.125 kB / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.8353, allocations: 4.062 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.8353, allocations: 1.406 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8353, allocations: 0 / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8353, allocations: 4.875 kB / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.23e-05/0.8354, allocations: 86.88 kB / 0.958 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.8354, allocations: 84.23 kB / 0.9581 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.8354, allocations: 1.094 kB / 0.9581 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.8355, allocations: 4.031 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.8355, allocations: 1.312 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.8355, allocations: 1.25 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.832e-05/0.8356, allocations: 118.8 kB / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8356, allocations: 0 / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00021/0.8358, allocations: 19.92 kB / 0.9582 GB, free: 4.012 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 (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.0001167/0.8359, allocations: 103.1 kB / 0.9583 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.691e-05/0.836, allocations: 22.81 kB / 0.9583 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.836, allocations: 0 / 0.9583 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.8361, allocations: 4.25 kB / 0.9584 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.8362, allocations: 7.344 kB / 0.9584 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.8366, allocations: 194.9 kB / 0.9585 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.8368, allocations: 0.6943 MB / 0.9592 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.8368, allocations: 5 kB / 0.9592 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.8368, allocations: 11.03 kB / 0.9592 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8368, allocations: 4 kB / 0.9592 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of Templates: time 0.002511/0.8394, allocations: 418.7 kB / 0.9596 GB, free: 2.777 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches