Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001622/0.001622, allocations: 115.6 kB / 16.37 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.001953/0.001953, allocations: 192.1 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 60.33 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3238, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002255/0.3261, allocations: 0.8347 MB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001375/0.3263, allocations: 43.78 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.3264, allocations: 4 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.22e-05/0.3264, allocations: 7.875 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.957e-05/0.3265, allocations: 7.922 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.349e-05/0.3266, allocations: 19.98 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.3268, allocations: 67.69 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3269, allocations: 43.97 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.72e-05/0.327, allocations: 27.86 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.3271, allocations: 35.77 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.3271, allocations: 8 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.3271, allocations: 4 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.3272, allocations: 19.88 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.3272, allocations: 35.8 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.3273, allocations: 75.64 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3273, allocations: 0 / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3273, allocations: 0 / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3273, allocations: 0 / 1.02 GB, free: 8.621 MB / 0.795 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.0004487/0.3278, allocations: 379.2 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3278, allocations: 12.92 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.3279, allocations: 8.844 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.3281, allocations: 188.2 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3281, allocations: 8.375 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.3281, allocations: 12.38 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.3283, allocations: 99.84 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3283, allocations: 192 / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3284, allocations: 3.938 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3284, allocations: 7.938 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.3284, allocations: 31.98 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.329, allocations: 432.5 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/0.3291, allocations: 41.28 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.3291, allocations: 21.83 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.3291, allocations: 3.938 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.3292, allocations: 38.56 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.684e-06/0.3292, allocations: 3.938 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.3294, allocations: 53.55 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.3294, allocations: 81.05 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3296, allocations: 160.9 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.3296, allocations: 25.7 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.3297, allocations: 104.2 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-06/0.3297, allocations: 7.906 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.3297, allocations: 17.72 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3298, allocations: 322.8 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.3299, allocations: 4 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.3299, allocations: 21.7 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.3299, allocations: 25.72 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.33, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.862e-05/0.33, allocations: 61.55 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3301, allocations: 7.984 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3301, allocations: 4.031 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3301, allocations: 3.984 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.3302, allocations: 8 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3302, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.3302, allocations: 7.844 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3302, allocations: 7.938 kB / 1.022 GB, free: 6.188 MB / 0.795 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.636e-05/0.3303, allocations: 122.5 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.3304, allocations: 7.906 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.3304, allocations: 15.8 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.3304, allocations: 4 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3304, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3304, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.3308, allocations: 474.8 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3308, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.3309, allocations: 4 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3309, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3309, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3309, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3309, allocations: 7.938 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.596e-05/0.331, allocations: 85.89 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.3311, allocations: 92.94 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3311, allocations: 4 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.3311, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.3311, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3312, allocations: 4 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001106/0.3313, allocations: 125.1 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3313, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001943/0.3315, allocations: 4 kB / 1.023 GB, free: 5.145 MB / 0.795 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.0001587/0.3316, allocations: 103.3 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.3318, allocations: 15.94 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3318, allocations: 0 / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/0.3318, allocations: 11.98 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.332, allocations: 7.938 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.3323, allocations: 166.7 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3326, allocations: 0.6967 MB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.3327, allocations: 4.438 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.3327, allocations: 11.44 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of SimCode: time 2.91e-07/0.3327, allocations: 0 / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of Templates: time 0.002876/0.3356, allocations: 454 kB / 1.024 GB, free: 3.621 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches