Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001766/0.001766, allocations: 119.6 kB / 16.81 MB, free: 5.754 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.00198/0.00198, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.524/1.524, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.914/2.914, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.83 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.342, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00239/0.3444, allocations: 0.8202 MB / 1.263 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001754/0.3446, allocations: 48.06 kB / 1.263 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.3447, allocations: 4 kB / 1.263 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.94e-05/0.3447, allocations: 7.875 kB / 1.263 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.41e-05/0.3448, allocations: 11.88 kB / 1.263 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.164e-05/0.3449, allocations: 19.98 kB / 1.263 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.345, allocations: 63.83 kB / 1.263 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.3451, allocations: 39.8 kB / 1.263 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.3452, allocations: 23.92 kB / 1.263 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.3453, allocations: 27.8 kB / 1.263 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3453, allocations: 8 kB / 1.263 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.3453, allocations: 7.938 kB / 1.263 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.3453, allocations: 19.92 kB / 1.263 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.3454, allocations: 31.81 kB / 1.263 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.3455, allocations: 75.56 kB / 1.263 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3455, allocations: 4 kB / 1.263 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3455, allocations: 0 / 1.263 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3455, allocations: 0 / 1.263 GB, free: 11.77 MB / 0.9825 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.0005941/0.3461, allocations: 379.2 kB / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.3462, allocations: 12.03 kB / 1.264 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.3462, allocations: 12.84 kB / 1.264 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.3465, allocations: 192.2 kB / 1.264 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3465, allocations: 8.312 kB / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3465, allocations: 12.38 kB / 1.264 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.3467, allocations: 98.14 kB / 1.264 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3467, allocations: 4.125 kB / 1.264 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3468, allocations: 7.938 kB / 1.264 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.3468, allocations: 4 kB / 1.264 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.287e-05/0.3469, allocations: 31.98 kB / 1.264 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.3475, allocations: 444.8 kB / 1.264 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.3475, allocations: 37.16 kB / 1.264 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.3476, allocations: 17.84 kB / 1.264 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.3476, allocations: 0 / 1.264 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.3476, allocations: 46.48 kB / 1.264 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.3476, allocations: 0 / 1.264 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001717/0.3478, allocations: 57.58 kB / 1.265 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3479, allocations: 81.05 kB / 1.265 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.348, allocations: 160.5 kB / 1.265 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.348, allocations: 25.7 kB / 1.265 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.3481, allocations: 96.09 kB / 1.265 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.3481, allocations: 16.12 kB / 1.265 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.3482, allocations: 21.67 kB / 1.265 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3483, allocations: 322.8 kB / 1.265 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.3483, allocations: 0 / 1.265 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.167e-05/0.3484, allocations: 21.72 kB / 1.265 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.3484, allocations: 25.66 kB / 1.265 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3484, allocations: 4 kB / 1.265 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.41e-05/0.3485, allocations: 61.58 kB / 1.265 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3485, allocations: 8 kB / 1.265 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3485, allocations: 0 / 1.265 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3485, allocations: 3.938 kB / 1.265 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.3486, allocations: 4 kB / 1.265 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3486, allocations: 4 kB / 1.265 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.3486, allocations: 0 / 1.265 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.3487, allocations: 7.938 kB / 1.265 GB, free: 9.328 MB / 0.9825 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.0001013/0.3488, allocations: 118.7 kB / 1.265 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.3488, allocations: 7.953 kB / 1.265 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.3488, allocations: 19.75 kB / 1.266 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3488, allocations: 0 / 1.266 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3488, allocations: 4 kB / 1.266 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.3489, allocations: 89 kB / 1.266 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3489, allocations: 4 kB / 1.266 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.349, allocations: 0 / 1.266 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.349, allocations: 0 / 1.266 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001489/0.3491, allocations: 204.2 kB / 1.266 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001902/0.3493, allocations: 290 kB / 1.266 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.251e-05/0.3494, allocations: 7.984 kB / 1.266 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001092/0.3495, allocations: 133.9 kB / 1.266 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of Backend: time 2.2e-07/0.3495, allocations: 0 / 1.266 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004285/0.3499, allocations: 86.34 kB / 1.266 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005855/0.3505, allocations: 0.6158 MB / 1.267 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of Templates: time 0.003288/0.3538, allocations: 0.5367 MB / 1.267 GB, free: 7.117 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches