Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.0008516, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007286/0.007286, allocations: 169 kB / 16.26 MB, free: 6.652 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.754/2.754, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004049, allocations: 11.98 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7959/0.7964, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00103/0.7974, allocations: 0.5429 MB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001307/0.7976, allocations: 39.78 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.7977, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.7977, allocations: 7.922 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.399e-05/0.7978, allocations: 11.94 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.929e-05/0.7978, allocations: 15.98 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.787e-05/0.798, allocations: 55.84 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.7981, allocations: 39.97 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.7982, allocations: 11.88 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.493e-05/0.7982, allocations: 23.86 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.7982, allocations: 4 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.7982, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.7983, allocations: 15.88 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.7983, allocations: 57.42 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.162e-05/0.7984, allocations: 61.73 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7984, allocations: 4 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7984, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.7985, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.7794 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.0003994/0.7989, allocations: 367.2 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.7989, allocations: 12.03 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.7989, allocations: 8.844 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.7992, allocations: 188.2 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.7992, allocations: 12.31 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.7992, allocations: 4.375 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.7994, allocations: 93.67 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7994, allocations: 192 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.7994, allocations: 7.938 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.7994, allocations: 11.94 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.145e-05/0.7995, allocations: 31.92 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.8001, allocations: 448.6 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.494e-05/0.8001, allocations: 41.25 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.8002, allocations: 21.72 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.8002, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.8002, allocations: 34.56 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.8002, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000186/0.8004, allocations: 61.47 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.8005, allocations: 77.11 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.8006, allocations: 164.7 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.8007, allocations: 25.7 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.8007, allocations: 104 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.8007, allocations: 11.91 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.8008, allocations: 9.719 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.8009, allocations: 323.1 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.8009, allocations: 4 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.8009, allocations: 25.66 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.801, allocations: 21.72 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.801, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.217e-05/0.8011, allocations: 61.53 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.8011, allocations: 8 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.8011, allocations: 8 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.8012, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.8012, allocations: 4 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.8012, allocations: 4 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.8013, allocations: 3.906 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.8013, allocations: 7.984 kB / 1.026 GB, free: 12.54 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 8.41e-05/0.8014, allocations: 109.8 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.8014, allocations: 7.906 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.8015, allocations: 15.81 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.8015, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8015, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.8015, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.8019, allocations: 466.8 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8019, allocations: 7.922 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.8019, allocations: 8 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.8019, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.802, allocations: 8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.802, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.802, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.826e-05/0.8021, allocations: 73.84 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.8021, allocations: 92.94 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.8021, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.8022, allocations: 8.031 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.8022, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.8022, allocations: 3.938 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.094e-05/0.8023, allocations: 119.2 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8023, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001881/0.8025, allocations: 8 kB / 1.027 GB, free: 11.5 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.0001132/0.8026, allocations: 107.2 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.767e-05/0.8027, allocations: 20.06 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8027, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.8027, allocations: 11.94 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.8029, allocations: 9.656 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.8032, allocations: 184.7 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.8035, allocations: 0.6926 MB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.572e-05/0.8036, allocations: 12.42 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.8036, allocations: 7.438 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.8036, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of Templates: time 0.002375/0.806, allocations: 424.5 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches