Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001472/0.001472, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001867/0.001868, allocations: 195 kB / 16.25 MB, free: 6.629 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.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.469 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.691/2.691, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6933/0.6946, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002265/0.6969, allocations: 0.8858 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000128/0.697, allocations: 39.78 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.6971, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.792e-05/0.6972, allocations: 7.938 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.827e-05/0.6973, allocations: 3.938 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.992e-05/0.6973, allocations: 15.98 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.6974, allocations: 67.84 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.6976, allocations: 39.95 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.33e-05/0.6976, allocations: 31.8 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.6977, allocations: 23.86 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.6977, allocations: 8 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.6977, allocations: 8 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.6978, allocations: 15.92 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.6978, allocations: 27.81 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.565e-05/0.6979, allocations: 73.67 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6979, allocations: 3.984 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6979, allocations: 4 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.6979, 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.0004077/0.6983, allocations: 375.2 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.6984, allocations: 12.03 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.6984, allocations: 12.84 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.6986, allocations: 192.1 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.6986, allocations: 8.375 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.6987, allocations: 16.31 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.6988, allocations: 87.86 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.6988, allocations: 192 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6989, allocations: 7.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.6989, allocations: 4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.661e-05/0.699, allocations: 47.91 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.6995, allocations: 432.6 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.265e-05/0.6996, allocations: 37.34 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.6996, allocations: 25.72 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.6996, allocations: 0 / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.6997, allocations: 34.56 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 2.165e-06/0.6997, allocations: 0 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001864/0.6999, allocations: 61.38 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.6999, allocations: 89.3 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.7001, allocations: 160.5 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.7001, allocations: 25.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.7002, allocations: 104 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.7002, allocations: 11.89 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.7002, allocations: 17.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7004, allocations: 318.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.7004, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.09e-05/0.7004, allocations: 21.72 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.7005, allocations: 25.72 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.7005, allocations: 4 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.413e-05/0.7006, allocations: 61.53 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.7006, allocations: 5.25 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.7006, allocations: 3.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.7006, allocations: 8.062 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.7007, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7007, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.7008, allocations: 7.906 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.7008, 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 8.01e-05/0.7008, allocations: 121.8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.7009, allocations: 7.906 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.7009, allocations: 15.81 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.7009, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7009, allocations: 4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.701, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.7013, allocations: 466.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7013, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.7014, allocations: 11.92 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7014, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.7014, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7014, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7014, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.39e-05/0.7015, allocations: 77.84 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.7015, allocations: 92.94 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.7016, allocations: 3.938 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.7016, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.7016, allocations: 8.031 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.7016, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.603e-05/0.7017, allocations: 124.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7017, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001904/0.7019, allocations: 8 kB / 1.021 GB, free: 14.01 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.0001049/0.702, allocations: 99.23 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.7021, allocations: 19.98 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7021, allocations: 4.062 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.7021, allocations: 8 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.7023, allocations: 14.19 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.0002827/0.7026, allocations: 182.9 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.7028, allocations: 0.6885 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.7029, allocations: 8.422 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.7029, allocations: 11.44 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.7029, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.002714/0.7056, allocations: 456.6 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches