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.006439/0.006438, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.001237/0.001237, allocations: 195.9 kB / 16.67 MB, free: 5.961 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.909/2.909, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 59.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.391, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001986/0.3931, allocations: 0.8178 MB / 1.167 GB, free: 6 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.3932, allocations: 51.78 kB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.3933, allocations: 0 / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.3933, allocations: 7.875 kB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.033e-05/0.3934, allocations: 11.92 kB / 1.167 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.743e-05/0.3935, allocations: 19.92 kB / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.3936, allocations: 63.84 kB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.3938, allocations: 43.97 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.3938, allocations: 27.86 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.3939, allocations: 31.8 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3939, allocations: 4 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.3939, allocations: 8 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.394, allocations: 15.92 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.394, allocations: 35.73 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.3941, allocations: 79.52 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3941, allocations: 4 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3942, allocations: 4 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3942, allocations: 0 / 1.168 GB, free: 5.598 MB / 0.92 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.0004464/0.3946, allocations: 379.1 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3947, allocations: 12.03 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.3947, allocations: 12.84 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.3949, allocations: 192.2 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3949, allocations: 8.375 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.395, allocations: 12.38 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3951, allocations: 87.95 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3951, allocations: 4.172 kB / 1.168 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3951, allocations: 11.88 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3952, allocations: 4 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.3952, allocations: 35.92 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.3958, allocations: 440.6 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/0.3959, allocations: 37.34 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.3959, allocations: 17.78 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.3959, allocations: 0 / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.396, allocations: 42.55 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.396, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001779/0.3962, allocations: 53.53 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.3962, allocations: 85.05 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3964, allocations: 156.5 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.3964, allocations: 25.7 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.3965, allocations: 104.1 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.3965, allocations: 12.14 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.3965, allocations: 21.72 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3966, allocations: 318.8 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.3967, allocations: 4 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.3967, allocations: 21.7 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.3967, allocations: 21.72 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3968, allocations: 4 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.746e-05/0.3968, allocations: 65.55 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3969, allocations: 4 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3969, allocations: 3.938 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3969, allocations: 4 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.397, allocations: 7.984 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.397, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.397, allocations: 4 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.397, allocations: 3.938 kB / 1.17 GB, free: 3.164 MB / 0.92 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 8.451e-05/0.3971, allocations: 121.8 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.3972, allocations: 7.953 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.3972, allocations: 19.8 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3972, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3972, allocations: 96 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3972, allocations: 3.984 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.3976, allocations: 474.7 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3976, allocations: 4.062 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.3976, allocations: 4 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3976, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3977, allocations: 4 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3977, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3977, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.271e-05/0.3978, allocations: 85.88 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.3978, allocations: 85.06 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3978, allocations: 7.984 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.3979, allocations: 3.938 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.3979, allocations: 4 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.3979, allocations: 0 / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.958e-05/0.398, allocations: 126.5 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of sort global known variables: time 9.1e-08/0.398, allocations: 0 / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001836/0.3982, allocations: 11.94 kB / 1.171 GB, free: 2.105 MB / 0.92 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.0001132/0.3983, allocations: 99.28 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.96e-05/0.3984, allocations: 20 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3984, allocations: 0 / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.3984, allocations: 7.938 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.3986, allocations: 17.48 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.3989, allocations: 158.8 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.3992, allocations: 0.6929 MB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.226e-05/0.3992, allocations: 8.422 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.3993, allocations: 11.44 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of SimCode: time 4.41e-07/0.3993, allocations: 0 / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of Templates: time 0.002541/0.4018, allocations: 460.5 kB / 1.172 GB, free: 0.5781 MB / 0.92 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=480 -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