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.001825/0.001825, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.552/1.552, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.822/2.822, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 67.89 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.8267, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002384/0.8291, allocations: 0.8271 MB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001181/0.8293, allocations: 39.86 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.8293, allocations: 0 / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.8294, allocations: 7.875 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.645e-05/0.8295, allocations: 15.84 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.625e-05/0.8295, allocations: 15.98 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.8297, allocations: 63.84 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.8299, allocations: 39.97 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.83, allocations: 31.8 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.8301, allocations: 27.86 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.8301, allocations: 4 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.8301, allocations: 12 kB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.8301, allocations: 15.92 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.8302, allocations: 27.81 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.8303, allocations: 73.67 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.8303, allocations: 0 / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.477e-06/0.8303, allocations: 3.984 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.8304, allocations: 0 / 1.018 GB, free: 1.266 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.0005555/0.8309, allocations: 381 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.831, allocations: 12.03 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.831, allocations: 16.84 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.8313, allocations: 196.1 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.8313, allocations: 4.375 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.8313, allocations: 8.375 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.8315, allocations: 95.8 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.8315, allocations: 192 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.8315, allocations: 7.938 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.8315, allocations: 4 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.8316, allocations: 35.98 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.8323, allocations: 436.6 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.996e-05/0.8324, allocations: 41.14 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.8325, allocations: 25.72 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.8325, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.8326, allocations: 38.59 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8326, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001896/0.8328, allocations: 57.47 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.8329, allocations: 85.36 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.833, allocations: 158.2 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.8331, allocations: 25.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.8332, allocations: 107.9 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.8332, allocations: 11.89 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.8332, allocations: 13.72 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.8334, allocations: 318.8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.8335, allocations: 11.98 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.907e-05/0.8335, allocations: 21.72 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.8336, allocations: 25.66 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8336, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/0.8337, allocations: 61.59 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8337, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.8337, allocations: 3.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.8337, allocations: 4.062 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.8338, allocations: 11.94 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8338, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.8339, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.8339, allocations: 0 / 1.021 GB, free: 14.82 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 0.0001184/0.834, allocations: 117.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.8341, allocations: 11.81 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.8341, allocations: 11.81 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.8341, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8341, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.8342, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.8347, allocations: 470.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.8347, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.8348, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.8348, allocations: 3.984 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.8348, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.8348, allocations: 8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8348, allocations: 8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.8349, allocations: 81.88 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/0.835, allocations: 96.92 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.8351, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.8351, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.8351, allocations: 7.969 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.8351, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001336/0.8353, allocations: 122.3 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8353, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001887/0.8355, allocations: 8 kB / 1.022 GB, free: 13.77 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.0002301/0.8357, allocations: 99.25 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.8359, allocations: 19.92 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8359, allocations: 4.125 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.8359, allocations: 8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.8361, allocations: 9.969 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.8366, allocations: 162.9 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.8372, allocations: 0.6924 MB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.8372, allocations: 8.422 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.8372, allocations: 11.44 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.285e-06/0.8372, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of Templates: time 0.0036/0.8409, allocations: 448.4 kB / 1.023 GB, free: 12.25 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=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/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