Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.91 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4785, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001705/0.4803, allocations: 0.8192 MB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 8.778e-05/0.4804, allocations: 39.84 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.4804, allocations: 0 / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.4804, allocations: 7.875 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.201e-05/0.4805, allocations: 11.86 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.95e-05/0.4806, allocations: 23.98 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.208e-05/0.4806, allocations: 63.78 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.4808, allocations: 43.95 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.4808, allocations: 27.81 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.4809, allocations: 35.84 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.4809, allocations: 4 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.4809, allocations: 8 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.4809, allocations: 7.938 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.481, allocations: 35.8 kB / 1.019 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.348e-05/0.481, allocations: 73.95 kB / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.4811, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4811, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4811, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.7637 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.0003313/0.4814, allocations: 392.3 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.4814, allocations: 12.03 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.4815, allocations: 34.75 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.4815, allocations: 16.83 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.4817, allocations: 188.2 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.4817, allocations: 12.36 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.4817, allocations: 4.375 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.4818, allocations: 95.8 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.4818, allocations: 11.94 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.4818, allocations: 4 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.4819, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.775e-05/0.4819, allocations: 35.97 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.4823, allocations: 440.6 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.203e-05/0.4824, allocations: 37.16 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.4824, allocations: 25.88 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.4824, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.4825, allocations: 30.56 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.4825, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000136/0.4826, allocations: 65.47 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.4826, allocations: 77.11 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.4828, allocations: 168.2 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.4828, allocations: 25.7 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.4828, allocations: 108 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.134e-06/0.4829, allocations: 3.906 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.4829, allocations: 13.72 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.483, allocations: 331.1 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.483, allocations: 8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.483, allocations: 17.72 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.519e-05/0.4831, allocations: 29.64 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4831, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.011e-05/0.4831, allocations: 53.55 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.4832, allocations: 19.94 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.4832, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.4832, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.4832, allocations: 15.98 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.4832, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.4833, allocations: 3.906 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.4833, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 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 5.946e-05/0.4833, allocations: 113.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.4834, allocations: 11.84 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.4834, allocations: 7.875 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.4834, allocations: 7.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.4834, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4834, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.4837, allocations: 470.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4838, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.4838, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4838, allocations: 8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.4838, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4838, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4838, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.838e-05/0.4839, allocations: 89.77 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.4839, allocations: 84.95 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.4839, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.484, allocations: 4.031 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.484, allocations: 3.984 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.484, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.171e-05/0.4841, allocations: 120.7 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4841, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001748/0.4842, allocations: 12 kB / 1.022 GB, free: 13.75 MB / 0.7794 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.0002675/0.4845, allocations: 0.617 MB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.345e-05/0.4846, allocations: 16 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4846, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.4846, allocations: 11.94 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.4848, allocations: 8.281 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008946/0.4857, allocations: 1.319 MB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.4858, allocations: 0.6963 MB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.846e-05/0.4859, allocations: 12.36 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.4859, allocations: 23.44 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.4859, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.253/1.739, allocations: 1.551 MB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.492/11.23, allocations: 3.953 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches