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.001125/0.001125, 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.001396/0.001396, allocations: 193.7 kB / 16.14 MB, free: 6.691 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.773/2.773, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 71.88 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7376/0.739, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002623/0.7417, allocations: 0.8819 MB / 1.017 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001428/0.7419, allocations: 47.78 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.7419, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.598e-05/0.742, allocations: 7.875 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.751e-05/0.7421, allocations: 7.922 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.252e-05/0.7422, allocations: 12 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.737e-05/0.7423, allocations: 59.84 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.7424, allocations: 35.97 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.7425, allocations: 35.78 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.7425, allocations: 19.86 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.7426, allocations: 4 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.7426, allocations: 4 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.7426, allocations: 19.92 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.7427, allocations: 27.81 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.7428, allocations: 73.66 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7428, allocations: 4 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7428, allocations: 0 / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.7428, allocations: 0 / 1.018 GB, free: 1.566 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.0004376/0.7432, allocations: 379.2 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.7433, allocations: 8.031 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.7433, allocations: 8.844 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.7435, allocations: 200.1 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-06/0.7436, allocations: 4.375 kB / 1.018 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.7436, allocations: 16.36 kB / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.7437, allocations: 89.89 kB / 1.018 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.7437, allocations: 192 / 1.018 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.7438, allocations: 11.94 kB / 1.018 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.7438, allocations: 0 / 1.018 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.088e-05/0.7439, allocations: 39.92 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.7444, allocations: 432.6 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.01e-05/0.7445, allocations: 41.22 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.7446, allocations: 21.84 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.7446, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.7446, allocations: 34.56 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.7446, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002016/0.7448, allocations: 65.38 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.7449, allocations: 85.05 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.7451, allocations: 159.9 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.7451, allocations: 25.7 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.7452, allocations: 112.2 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/0.7452, allocations: 7.891 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.7452, allocations: 17.72 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7454, allocations: 318.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.7454, allocations: 8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.7454, allocations: 21.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.7455, allocations: 25.72 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7455, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.768e-05/0.7456, allocations: 61.53 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.7456, allocations: 8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.7456, allocations: 3.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.7457, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.7458, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.7458, allocations: 3.984 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.7458, allocations: 11.91 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.7458, allocations: 4.062 kB / 1.02 GB, free: 15.12 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.0001064/0.7459, allocations: 117.8 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.746, allocations: 7.906 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.746, allocations: 11.81 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.746, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.746, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.746, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.7465, allocations: 474.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7465, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.7465, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.7465, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.7465, allocations: 3.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7465, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7465, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.7467, allocations: 85.89 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.7467, allocations: 88.95 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.7467, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.7468, allocations: 7.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.7468, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.7468, allocations: 3.984 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.425e-05/0.7469, allocations: 117.3 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7469, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001895/0.7471, allocations: 16.03 kB / 1.021 GB, free: 14.08 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.0001252/0.7472, allocations: 103.2 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.076e-05/0.7473, allocations: 16 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7473, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.7473, allocations: 7.938 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.7475, allocations: 11.94 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.7478, allocations: 184.8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.7481, allocations: 0.6926 MB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.7481, allocations: 20.5 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.7482, allocations: 7.438 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.7482, allocations: 7.938 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.002469/0.7507, allocations: 428.5 kB / 1.022 GB, free: 12.54 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=480 -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