Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 108 kB / 15.61 MB, free: 152 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.002032/0.002032, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.605/1.605, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.818/2.818, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8228/0.8247, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002446/0.8272, allocations: 0.817 MB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001522/0.8274, allocations: 43.78 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.8275, allocations: 4 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/0.8276, allocations: 11.86 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.8277, allocations: 7.875 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.746e-05/0.8277, allocations: 19.98 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.8279, allocations: 59.84 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.828, allocations: 47.95 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.8281, allocations: 27.86 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.8282, allocations: 31.8 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.8282, allocations: 4 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.8282, allocations: 8 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.8283, allocations: 11.92 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.8283, allocations: 31.81 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.8285, allocations: 77.66 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.8285, allocations: 0 / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8285, allocations: 4 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.8285, allocations: 0 / 1.018 GB, free: 1.301 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.0007629/0.8293, allocations: 379.2 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 7.626e-05/0.8294, allocations: 8.031 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.8295, allocations: 20.78 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.8298, allocations: 192.1 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.8299, allocations: 8.375 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.8299, allocations: 4.375 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.8301, allocations: 102.2 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.8302, allocations: 192 / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.8302, allocations: 3.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.8302, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.8303, allocations: 43.91 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.8312, allocations: 444.5 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.426e-05/0.8313, allocations: 37.41 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.8313, allocations: 21.72 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.8313, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.8314, allocations: 34.56 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.8314, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002335/0.8316, allocations: 61.47 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.8317, allocations: 77.11 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.8319, allocations: 162.2 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.832, allocations: 25.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.8321, allocations: 108.1 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.8321, allocations: 11.91 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.8322, allocations: 13.72 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.8323, allocations: 326.8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.8324, allocations: 11.94 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.8324, allocations: 13.72 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.8325, allocations: 25.72 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8325, allocations: 4 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001011/0.8326, allocations: 61.53 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.8326, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8326, allocations: 3.938 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.8326, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.059e-05/0.8327, allocations: 8 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.8327, allocations: 3.984 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.8328, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.8328, allocations: 4 kB / 1.021 GB, free: 14.86 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.0001132/0.8329, allocations: 117.9 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.8329, allocations: 11.81 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.833, allocations: 11.81 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.833, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.833, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.833, allocations: 7.875 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.8335, allocations: 474.8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.8335, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.8335, allocations: 7.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8335, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.8336, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.8336, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.8336, allocations: 8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.8337, allocations: 81.89 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.8338, allocations: 92.95 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.8338, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.8338, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.8338, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.8339, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000115/0.834, allocations: 126.2 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.834, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002013/0.8342, allocations: 4 kB / 1.022 GB, free: 13.81 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.0001537/0.8344, allocations: 107.3 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.8345, allocations: 12 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8345, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.696e-05/0.8345, allocations: 15.94 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.8347, allocations: 9.656 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.8351, allocations: 159.1 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.8355, allocations: 0.6924 MB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.8355, allocations: 12.42 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.8355, allocations: 11.44 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.8356, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.003166/0.8387, allocations: 456.5 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches