Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002245/0.002245, allocations: 195.8 kB / 16.14 MB, free: 6.676 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.541/1.541, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.899/2.899, allocations: 437 MB / 0.71 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 83.86 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7306/0.7326, allocations: 151.6 MB / 1.017 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002345/0.735, allocations: 0.8896 MB / 1.018 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.7352, allocations: 43.78 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.7352, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.7353, allocations: 3.938 kB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.7353, allocations: 3.938 kB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.396e-05/0.7354, allocations: 15.98 kB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.7355, allocations: 59.84 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.7357, allocations: 43.97 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.819e-05/0.7357, allocations: 23.81 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.7358, allocations: 27.84 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.7358, allocations: 8 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.7358, allocations: 4 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.7358, allocations: 11.94 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.7359, allocations: 31.78 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.736, allocations: 65.83 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.736, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.21e-07/0.736, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.736, allocations: 0 / 1.018 GB, free: 1.699 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.0005298/0.7366, allocations: 387.2 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.7366, allocations: 12.03 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.7367, allocations: 12.84 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.7369, allocations: 192.1 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.7369, allocations: 8.375 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.737, allocations: 8.375 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.7372, allocations: 95.84 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.7372, allocations: 4.125 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.7372, allocations: 7.938 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.7372, allocations: 4 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.308e-05/0.7373, allocations: 39.98 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.7379, allocations: 428.8 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.738, allocations: 49.08 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.738, allocations: 17.78 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.822e-06/0.738, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.7381, allocations: 42.5 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.7381, allocations: 0 / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001703/0.7383, allocations: 53.45 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.7383, allocations: 89.28 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.7385, allocations: 163.4 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.7386, allocations: 25.7 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.7387, allocations: 104 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.7387, allocations: 7.906 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.7387, allocations: 21.7 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.7389, allocations: 314.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.7389, allocations: 7.984 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.7389, allocations: 21.72 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/0.739, allocations: 21.72 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.739, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.538e-05/0.7391, allocations: 65.53 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.7391, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.7391, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.7391, allocations: 4.062 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.7392, allocations: 8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7392, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.7393, allocations: 11.84 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.7393, allocations: 0 / 1.02 GB, free: 15.24 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 9.425e-05/0.7394, allocations: 114.4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.7394, allocations: 11.89 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.7394, allocations: 15.81 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7394, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7395, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7395, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.7399, allocations: 466.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7399, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.74, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.74, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.74, allocations: 3.938 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.74, allocations: 12.05 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.74, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.326e-05/0.7401, allocations: 81.78 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.7402, allocations: 92.94 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.7402, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.7402, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.7402, allocations: 4.031 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.7403, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.964e-05/0.7404, allocations: 125.1 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7404, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001787/0.7405, allocations: 4 kB / 1.021 GB, free: 14.2 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.0001363/0.7407, allocations: 100.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.762e-05/0.7408, allocations: 19.92 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.7408, allocations: 12.06 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.528e-05/0.7408, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.741, allocations: 7.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.7414, allocations: 180.6 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.7417, allocations: 0.6965 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.277e-05/0.7418, allocations: 8.516 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.7418, allocations: 11.44 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.7418, allocations: 3.938 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.002823/0.7446, allocations: 432.6 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches