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.001632/0.001633, allocations: 103.5 kB / 16.41 MB, free: 6.508 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.001944/0.001944, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.15 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.465/2.465, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 59.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8249/0.8264, allocations: 151.7 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002113/0.8285, allocations: 0.8221 MB / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001404/0.8287, allocations: 39.78 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.8288, allocations: 0 / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.213e-05/0.8289, allocations: 15.88 kB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.333e-05/0.829, allocations: 3.938 kB / 1.168 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.672e-05/0.8291, allocations: 23.97 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.8292, allocations: 59.78 kB / 1.168 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.8293, allocations: 43.98 kB / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.529e-05/0.8294, allocations: 23.91 kB / 1.168 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.8295, allocations: 31.8 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.8295, allocations: 4 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.8295, allocations: 8 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.8295, allocations: 15.92 kB / 1.168 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.8296, allocations: 31.81 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.8297, allocations: 79.62 kB / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.8297, allocations: 0 / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8297, allocations: 4 kB / 1.168 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.8297, allocations: 0 / 1.168 GB, free: 2.617 MB / 0.8887 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.0004511/0.8302, allocations: 380.8 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.8302, allocations: 12.92 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.8303, allocations: 8.844 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.8305, allocations: 192.1 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.8305, allocations: 12.31 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.8306, allocations: 8.375 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.8307, allocations: 98.33 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.8308, allocations: 192 / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.8308, allocations: 3.938 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.8308, allocations: 4 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.875e-05/0.8309, allocations: 39.92 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.8314, allocations: 432.6 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.103e-05/0.8315, allocations: 49.25 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.8315, allocations: 17.78 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.8316, allocations: 0 / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.8316, allocations: 34.56 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8316, allocations: 0 / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001784/0.8318, allocations: 65.45 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.8318, allocations: 77.11 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.832, allocations: 160.9 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.832, allocations: 25.7 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.8321, allocations: 104 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.8321, allocations: 11.89 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.8321, allocations: 17.72 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.8322, allocations: 323.1 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.8322, allocations: 8 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.8323, allocations: 21.66 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.8323, allocations: 25.72 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8323, allocations: 3.984 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.809e-05/0.8324, allocations: 57.55 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.8324, allocations: 8.062 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.8325, allocations: 3.938 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.8325, allocations: 4 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.8325, allocations: 4 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.8326, allocations: 3.984 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.8326, allocations: 7.906 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.8326, allocations: 0 / 1.171 GB, free: 188 kB / 0.8887 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.131e-05/0.8327, allocations: 117.8 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.526e-05/0.8327, allocations: 7.906 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.8328, allocations: 19.81 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8328, allocations: 0 / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8328, allocations: 0 / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.8328, allocations: 3.984 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.8332, allocations: 470.8 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8332, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.8332, allocations: 4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.8333, allocations: 8 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.8333, allocations: 3.938 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.8333, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8333, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.097e-05/0.8334, allocations: 77.83 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.8334, allocations: 92.95 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.8334, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.11e-05/0.8335, allocations: 4.031 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.8335, allocations: 7.984 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.8335, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.702e-05/0.8336, allocations: 117.9 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8336, allocations: 0 / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001953/0.8338, allocations: 11.91 kB / 1.172 GB, free: 15.13 MB / 0.9044 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.0001071/0.8339, allocations: 103.2 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.954e-05/0.834, allocations: 20 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.834, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.324e-05/0.834, allocations: 11.94 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.8342, allocations: 14.28 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.8345, allocations: 180.5 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.8348, allocations: 0.6965 MB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.8348, allocations: 11.44 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8348, allocations: 0 / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.002292/0.8371, allocations: 0.8755 MB / 1.173 GB, free: 13.15 MB / 0.9044 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/jenkins1/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