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.001467/0.001468, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001701/0.001701, allocations: 191 kB / 17.29 MB, free: 5.516 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15 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.344/2.344, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 70.7 kB / 0.814 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3109, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.00196/0.3129, allocations: 0.8171 MB / 0.9519 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 9.987e-05/0.313, allocations: 47.72 kB / 0.952 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.3131, allocations: 11.94 kB / 0.952 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.3131, allocations: 7.875 kB / 0.952 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.3132, allocations: 7.875 kB / 0.952 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.503e-05/0.3133, allocations: 19.97 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.3134, allocations: 63.84 kB / 0.9521 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3135, allocations: 43.91 kB / 0.9521 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.3136, allocations: 23.92 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.141e-05/0.3137, allocations: 27.8 kB / 0.9522 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.3137, allocations: 4 kB / 0.9522 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.3137, allocations: 8 kB / 0.9522 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.3137, allocations: 19.92 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.3137, allocations: 23.81 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.3139, allocations: 83.62 kB / 0.9523 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3139, allocations: 0 / 0.9523 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3139, allocations: 4 kB / 0.9523 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3139, allocations: 0 / 0.9523 GB, free: 6.879 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.0003838/0.3143, allocations: 379.2 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.3143, allocations: 8.031 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.3143, allocations: 8.844 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.3146, allocations: 200.1 kB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3146, allocations: 12.31 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.3146, allocations: 4.375 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3147, allocations: 97.89 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3147, allocations: 192 / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3148, allocations: 11.94 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3148, allocations: 0 / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.746e-05/0.3148, allocations: 35.92 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.3153, allocations: 440.7 kB / 0.9534 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.516e-05/0.3154, allocations: 37.19 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.3154, allocations: 21.84 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-06/0.3155, allocations: 0 / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.3155, allocations: 34.56 kB / 0.9535 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3155, allocations: 0 / 0.9535 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001566/0.3156, allocations: 61.47 kB / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3157, allocations: 77.11 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3158, allocations: 167.8 kB / 0.9538 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.3159, allocations: 25.7 kB / 0.9539 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.3159, allocations: 104 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.227e-06/0.3159, allocations: 7.906 kB / 0.954 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.316, allocations: 21.91 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3161, allocations: 322.8 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.3161, allocations: 4 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.781e-05/0.3161, allocations: 21.66 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.3162, allocations: 25.72 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3162, allocations: 0 / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.135e-05/0.3163, allocations: 65.53 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3163, allocations: 8 kB / 0.9544 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3163, allocations: 3.938 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3163, allocations: 0 / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.3164, allocations: 4 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3164, allocations: 4 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.3164, allocations: 15.83 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3164, allocations: 7.938 kB / 0.9544 GB, free: 4.426 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 7.295e-05/0.3165, allocations: 115.9 kB / 0.9545 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.3166, allocations: 7.906 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.3166, allocations: 11.81 kB / 0.9546 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3166, allocations: 0 / 0.9546 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.3166, allocations: 4 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3166, allocations: 0 / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.317, allocations: 474.8 kB / 0.955 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.317, allocations: 4.062 kB / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.317, allocations: 4 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.317, allocations: 0 / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.317, allocations: 3.938 kB / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.317, allocations: 0 / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.317, allocations: 0 / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.175e-05/0.3171, allocations: 77.84 kB / 0.9551 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.3172, allocations: 93.03 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3172, allocations: 4 kB / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.3172, allocations: 96 / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.3172, allocations: 3.984 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.3172, allocations: 0 / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.934e-05/0.3173, allocations: 122.5 kB / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3173, allocations: 0 / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001945/0.3175, allocations: 8 kB / 0.9553 GB, free: 3.402 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 9.688e-05/0.3176, allocations: 111.2 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.541e-05/0.3177, allocations: 16 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3177, allocations: 0 / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.3177, allocations: 7.938 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.3179, allocations: 12.97 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.3182, allocations: 170.7 kB / 0.9556 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.3184, allocations: 0.6964 MB / 0.9563 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.3184, allocations: 8.422 kB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.3185, allocations: 11.44 kB / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3185, allocations: 0 / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of Templates: time 0.002255/0.3207, allocations: 450.8 kB / 0.9568 GB, free: 1.867 MB / 0.7325 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 -s gbode -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/jenkins1/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