Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01091/0.01091, allocations: 95.36 kB / 15.73 MB, free: 6.039 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.002129/0.002129, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.684/2.684, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 72.42 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3143, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001929/0.3163, allocations: 0.8293 MB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001162/0.3164, allocations: 39.8 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.3165, allocations: 4 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.882e-05/0.3165, allocations: 11.86 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.514e-05/0.3166, allocations: 7.938 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.977e-05/0.3167, allocations: 15.98 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3168, allocations: 71.7 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.317, allocations: 43.97 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.385e-05/0.317, allocations: 23.88 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.3171, allocations: 31.83 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3171, allocations: 4 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.3171, allocations: 8 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3172, allocations: 15.92 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.3172, allocations: 39.69 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.3174, allocations: 79.58 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3174, allocations: 0 / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3174, allocations: 0 / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3174, allocations: 0 / 1.089 GB, free: 276 kB / 0.8419 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.0005192/0.3179, allocations: 383.1 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.318, allocations: 8.031 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.318, allocations: 8.891 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.3182, allocations: 204.1 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3183, allocations: 4.375 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3183, allocations: 8.375 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3185, allocations: 89.67 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3185, allocations: 192 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.3185, allocations: 7.938 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3185, allocations: 4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.569e-05/0.3186, allocations: 35.92 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.3192, allocations: 432.7 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.952e-05/0.3193, allocations: 49.31 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.3193, allocations: 17.78 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.3193, allocations: 4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3193, allocations: 34.56 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3194, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001837/0.3195, allocations: 57.52 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3196, allocations: 77.11 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3198, allocations: 161.5 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3198, allocations: 29.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.3198, allocations: 104 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.3199, allocations: 19.88 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.3199, allocations: 13.72 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.32, allocations: 314.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.3201, allocations: 15.92 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.3201, allocations: 13.72 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.3201, allocations: 33.66 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3201, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.209e-05/0.3202, allocations: 57.58 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3202, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3203, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3203, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.3203, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3204, allocations: 64 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.3204, allocations: 15.95 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.3204, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 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.504e-05/0.3205, allocations: 109.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.3205, allocations: 19.88 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.3206, allocations: 11.81 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3206, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3206, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3206, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.3209, allocations: 478.8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.321, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.321, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.321, allocations: 3.984 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.321, allocations: 8 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.321, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.321, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.589e-05/0.3211, allocations: 77.95 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.3212, allocations: 93.05 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3212, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.3212, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.3212, allocations: 7.938 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-06/0.3212, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.654e-05/0.3213, allocations: 121.1 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3213, allocations: 4.031 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002041/0.3215, allocations: 15.89 kB / 1.092 GB, free: 12.78 MB / 0.8575 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.0001093/0.3217, allocations: 99.78 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.3218, allocations: 19.98 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3218, allocations: 3.938 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.3218, allocations: 7.938 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.3219, allocations: 12.19 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.3222, allocations: 166.8 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.3225, allocations: 0.6889 MB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.3225, allocations: 8.422 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.3226, allocations: 11.44 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3226, allocations: 7.938 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of Templates: time 0.002506/0.3251, allocations: 454.1 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches