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.001168/0.001168, allocations: 112.6 kB / 16.37 MB, free: 6 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.001144/0.001144, allocations: 196 kB / 17.31 MB, free: 5.613 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.332/2.332, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 65.91 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3144, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002397/0.3168, allocations: 0.8356 MB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001172/0.317, allocations: 39.78 kB / 0.952 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.317, allocations: 0 / 0.952 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.3171, allocations: 7.875 kB / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.835e-05/0.3172, allocations: 19.86 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.844e-05/0.3172, allocations: 11.98 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3174, allocations: 63.84 kB / 0.9521 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3175, allocations: 39.97 kB / 0.9521 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.3176, allocations: 27.86 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.3176, allocations: 31.8 kB / 0.9522 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.3177, allocations: 4 kB / 0.9522 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.3177, allocations: 8 kB / 0.9522 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.3177, allocations: 11.92 kB / 0.9522 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.3178, allocations: 43.73 kB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.85e-05/0.3179, allocations: 75.69 kB / 0.9523 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3179, allocations: 4 kB / 0.9523 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3179, allocations: 0 / 0.9523 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.3179, allocations: 0 / 0.9523 GB, free: 6.871 MB / 0.7325 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.0004248/0.3183, allocations: 375.2 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.3184, allocations: 12.03 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.3184, allocations: 12.83 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.3186, allocations: 192.2 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3186, allocations: 8.375 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3186, allocations: 8.375 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3188, allocations: 95.8 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3188, allocations: 192 / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3188, allocations: 7.938 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3188, allocations: 4 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.3189, allocations: 35.97 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.3194, allocations: 440.6 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.953e-05/0.3195, allocations: 33.22 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.3195, allocations: 17.78 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.3195, allocations: 0 / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3196, allocations: 42.59 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3196, allocations: 0 / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001658/0.3197, allocations: 61.41 kB / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3198, allocations: 77.11 kB / 0.9537 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3199, allocations: 169 kB / 0.9538 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.32, allocations: 25.7 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.32, allocations: 108.2 kB / 0.954 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.32, allocations: 11.91 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3201, allocations: 13.72 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3202, allocations: 318.8 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.3202, allocations: 11.94 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.3202, allocations: 13.72 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.953e-05/0.3203, allocations: 37.64 kB / 0.9544 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3203, allocations: 0 / 0.9544 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.259e-05/0.3204, allocations: 53.61 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3204, allocations: 6.188 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3204, allocations: 3.938 kB / 0.9544 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3204, allocations: 4 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.3205, allocations: 7.984 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3205, allocations: 7.938 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.3205, allocations: 15.84 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.3205, allocations: 4.062 kB / 0.9545 GB, free: 4.422 MB / 0.7325 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 6.671e-05/0.3206, allocations: 113.8 kB / 0.9546 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3206, allocations: 7.906 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.3207, allocations: 15.89 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3207, allocations: 3.984 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3207, allocations: 0 / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3207, allocations: 0 / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.3211, allocations: 474.8 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3211, allocations: 0 / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.3211, allocations: 4 kB / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3211, allocations: 0 / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3211, allocations: 4 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3211, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3211, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.017e-05/0.3212, allocations: 85.83 kB / 0.9551 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.3213, allocations: 89.02 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3213, allocations: 0 / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.3213, allocations: 0 / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.3213, allocations: 7.984 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.3213, allocations: 0 / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.232e-05/0.3214, allocations: 121.3 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3214, allocations: 0 / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001802/0.3216, allocations: 12.03 kB / 0.9553 GB, free: 3.391 MB / 0.7325 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.0001112/0.3217, allocations: 103.7 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.751e-05/0.3218, allocations: 19.94 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3218, allocations: 3.938 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.457e-06/0.3218, allocations: 4 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.322, allocations: 11.94 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.3223, allocations: 167 kB / 0.9556 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.3225, allocations: 0.6961 MB / 0.9563 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.3226, allocations: 8.422 kB / 0.9563 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.3226, allocations: 11.44 kB / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3226, allocations: 0 / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of Templates: time 0.002688/0.3253, allocations: 456.5 kB / 0.9568 GB, free: 1.855 MB / 0.7325 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 -s cvode -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