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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001806/0.001806, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002064/0.002064, allocations: 191.3 kB / 16.14 MB, free: 6.719 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.545/1.545, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.891/2.891, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7442, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002371/0.7466, allocations: 0.8935 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001049/0.7467, allocations: 39.78 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.7468, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.043e-05/0.7469, allocations: 3.938 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.545e-05/0.747, allocations: 11.92 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.738e-05/0.747, allocations: 16 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.7471, allocations: 59.84 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.7473, allocations: 39.95 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.78e-05/0.7474, allocations: 27.8 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.7474, allocations: 23.86 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.7475, allocations: 8 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.7475, allocations: 4 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.7475, allocations: 15.92 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.7475, allocations: 31.75 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.7477, allocations: 73.72 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7477, allocations: 0 / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.41e-07/0.7477, allocations: 0 / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.7477, allocations: 0 / 1.018 GB, free: 1.504 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.0004919/0.7482, allocations: 379.2 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.7482, allocations: 12.03 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.7483, allocations: 8.844 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.7485, allocations: 200.1 kB / 1.018 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.7485, allocations: 12.31 kB / 1.018 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.7486, allocations: 4.375 kB / 1.018 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.7488, allocations: 93.42 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.7488, allocations: 192 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.7488, allocations: 7.938 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.7488, allocations: 4 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-05/0.7489, allocations: 39.92 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.7495, allocations: 432.6 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.528e-05/0.7496, allocations: 45.28 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.7497, allocations: 21.84 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.7497, allocations: 0 / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.7497, allocations: 30.56 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7497, allocations: 0 / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001972/0.7499, allocations: 61.38 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.75, allocations: 85.36 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.7502, allocations: 164.3 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.7502, allocations: 29.64 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.7503, allocations: 107.9 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.7503, allocations: 7.906 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.7503, allocations: 13.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7505, allocations: 318.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.7505, allocations: 8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.7505, allocations: 21.72 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.7506, allocations: 25.72 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7506, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.486e-05/0.7507, allocations: 57.53 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7507, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.7507, allocations: 7.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.7507, allocations: 4.062 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.7508, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.7508, allocations: 3.984 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.7509, allocations: 7.906 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.7509, allocations: 0 / 1.02 GB, free: 15.06 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 0.0001015/0.751, allocations: 118.6 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.751, allocations: 7.906 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.7511, allocations: 23.83 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7511, allocations: 4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7511, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7511, allocations: 4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.7516, allocations: 470.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7516, allocations: 8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.7516, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.7516, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.7516, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7516, allocations: 4.062 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7517, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.241e-05/0.7517, allocations: 77.83 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.7518, allocations: 92.95 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.7518, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.214e-05/0.7519, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.7519, allocations: 7.969 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.7519, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.965e-05/0.752, allocations: 120.9 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.752, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001868/0.7522, allocations: 8 kB / 1.021 GB, free: 14.02 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.0001377/0.7524, allocations: 99.23 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.7524, allocations: 16 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7525, allocations: 4.125 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.731e-05/0.7525, allocations: 11.94 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.7526, allocations: 15.88 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.753, allocations: 184.6 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.7534, allocations: 0.6926 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.7535, allocations: 8.422 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.7535, allocations: 11.44 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of SimCode: time 3.8e-07/0.7535, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.00296/0.7565, allocations: 432.6 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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