Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006657/0.006657, allocations: 98.28 kB / 15.73 MB, free: 6.008 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.001401/0.001401, allocations: 198.2 kB / 16.68 MB, free: 5.934 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.379/1.379, 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 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3746, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002075/0.3767, allocations: 0.8332 MB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001273/0.3768, allocations: 39.8 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.3769, allocations: 4 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.3769, allocations: 11.86 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.739e-05/0.377, allocations: 11.86 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.492e-05/0.377, allocations: 23.98 kB / 1.222 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3772, allocations: 59.84 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3773, allocations: 39.84 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.3774, allocations: 27.81 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.3775, allocations: 27.84 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.3775, allocations: 8 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.3775, allocations: 4 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.3775, allocations: 15.94 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.3776, allocations: 35.8 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.3777, allocations: 71.58 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3777, allocations: 7.938 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3777, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3777, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 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.0004456/0.3782, allocations: 383.1 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3782, allocations: 8.031 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.3782, allocations: 16.84 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.3784, allocations: 188.2 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3785, allocations: 4.375 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.3785, allocations: 8.375 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3786, allocations: 106.1 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3786, allocations: 192 / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.3787, allocations: 3.938 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3787, allocations: 0 / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.3787, allocations: 39.92 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.3793, allocations: 436.7 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.026e-05/0.3794, allocations: 41.23 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.3794, allocations: 21.78 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3794, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.3795, allocations: 38.56 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3795, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.3796, allocations: 57.53 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3797, allocations: 85.03 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3798, allocations: 160.6 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3798, allocations: 25.7 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.3799, allocations: 100.1 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.3799, allocations: 3.953 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.3799, allocations: 29.91 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3801, allocations: 318.8 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.3801, allocations: 3.984 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.3801, allocations: 21.72 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.3801, allocations: 25.66 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3801, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.541e-05/0.3802, allocations: 69.52 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3802, allocations: 8 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3802, allocations: 3.938 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3802, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.3803, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3803, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.3803, allocations: 3.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.3804, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 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.671e-05/0.3804, allocations: 113.9 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.3805, allocations: 11.95 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.3805, allocations: 19.89 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3805, allocations: 3.984 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3805, allocations: 4 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3805, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.3809, allocations: 470.7 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3809, allocations: 4.062 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.3809, allocations: 4 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3809, allocations: 0 / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.3809, allocations: 0 / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.3809, allocations: 3.984 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3809, allocations: 0 / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.395e-05/0.381, allocations: 85.83 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.3811, allocations: 89.08 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3811, allocations: 4 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.895e-05/0.3811, allocations: 0 / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.3811, allocations: 4 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.3811, allocations: 0 / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.403e-05/0.3812, allocations: 121.1 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3812, allocations: 0 / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001816/0.3814, allocations: 8 kB / 1.225 GB, free: 9.137 MB / 0.9825 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.0001309/0.3815, allocations: 103.2 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.642e-05/0.3816, allocations: 27.86 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3816, allocations: 0 / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.3816, allocations: 4 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.3818, allocations: 11.94 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.3821, allocations: 166.6 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.3823, allocations: 0.7008 MB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.3824, allocations: 4.438 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.3824, allocations: 11.44 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3824, allocations: 0 / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of Templates: time 0.002338/0.3847, allocations: 464.5 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches