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.001319/0.001319, allocations: 102.6 kB / 16.27 MB, free: 5.98 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.001368/0.001368, allocations: 189.8 kB / 17.2 MB, free: 5.602 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.575/2.575, allocations: 437.1 MB / 0.7111 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 71.36 kB / 0.8699 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3136, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002124/0.3158, allocations: 0.8232 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.3159, allocations: 47.78 kB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.316, allocations: 0 / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.316, allocations: 7.875 kB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.251e-05/0.3161, allocations: 3.938 kB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.433e-05/0.3162, allocations: 23.97 kB / 1.019 GB, free: 9.785 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.3163, allocations: 63.7 kB / 1.019 GB, free: 9.723 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.3164, allocations: 51.94 kB / 1.019 GB, free: 9.672 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.3165, allocations: 23.88 kB / 1.019 GB, free: 9.648 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/0.3166, allocations: 31.84 kB / 1.019 GB, free: 9.617 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3166, allocations: 4 kB / 1.019 GB, free: 9.613 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/0.3166, allocations: 8 kB / 1.019 GB, free: 9.605 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.3167, allocations: 11.94 kB / 1.019 GB, free: 9.594 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.3167, allocations: 43.67 kB / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.973e-05/0.3168, allocations: 64.05 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3168, allocations: 4 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3168, allocations: 0 / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.3168, allocations: 0 / 1.019 GB, free: 9.484 MB / 0.795 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.0005094/0.3174, allocations: 383.2 kB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3174, allocations: 8.922 kB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3174, allocations: 12.84 kB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.3177, allocations: 184.2 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3177, allocations: 4.375 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.3177, allocations: 12.38 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3179, allocations: 110.5 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3179, allocations: 192 / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3179, allocations: 3.938 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3179, allocations: 0 / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.962e-05/0.318, allocations: 39.92 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.3186, allocations: 436.6 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.3187, allocations: 37.25 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.3187, allocations: 25.77 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.3187, allocations: 0 / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.3188, allocations: 38.56 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3188, allocations: 3.938 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001596/0.3189, allocations: 57.48 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.319, allocations: 77.11 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3192, allocations: 158.2 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.3192, allocations: 25.7 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.3193, allocations: 108.2 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-06/0.3193, allocations: 3.906 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.3193, allocations: 21.7 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3195, allocations: 318.8 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.3195, allocations: 4 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.3196, allocations: 25.7 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/0.3196, allocations: 29.66 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3196, allocations: 0 / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001/0.3197, allocations: 65.53 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3197, allocations: 4 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3197, allocations: 3.938 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3198, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.3198, allocations: 8 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3198, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.3199, allocations: 7.844 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-06/0.3199, allocations: 8.062 kB / 1.021 GB, free: 7.039 MB / 0.795 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.258e-05/0.32, allocations: 114.5 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.32, allocations: 7.906 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.32, allocations: 15.8 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.32, allocations: 4 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3201, allocations: 3.938 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3201, allocations: 0 / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.3205, allocations: 470.8 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3205, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.3205, allocations: 4 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3206, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.3206, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3206, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3206, allocations: 4 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.419e-05/0.3207, allocations: 89.92 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.3208, allocations: 92.98 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3208, allocations: 0 / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.3208, allocations: 0 / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.3208, allocations: 0 / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.3208, allocations: 4 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.562e-05/0.3209, allocations: 125.5 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3209, allocations: 0 / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001852/0.3211, allocations: 11.97 kB / 1.022 GB, free: 6 MB / 0.795 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.0001857/0.3213, allocations: 99.25 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.833e-05/0.3214, allocations: 19.92 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3214, allocations: 0 / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.3214, allocations: 8 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.3216, allocations: 7.938 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.3219, allocations: 188.7 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.3222, allocations: 0.6963 MB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.3223, allocations: 15.44 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3223, allocations: 0 / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of Templates: time 0.00232/0.3246, allocations: 0.8613 MB / 1.024 GB, free: 4.035 MB / 0.795 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=400 -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/jenkins1/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