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.00158/0.00158, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001821/0.001821, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.523/2.523, allocations: 437.1 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 64.34 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3077, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002332/0.31, allocations: 0.8265 MB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001193/0.3102, allocations: 39.78 kB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.3102, allocations: 8 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.632e-05/0.3103, allocations: 11.86 kB / 1.019 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.488e-05/0.3104, allocations: 7.875 kB / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.682e-05/0.3105, allocations: 19.98 kB / 1.019 GB, free: 9.73 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.28e-05/0.3105, allocations: 63.75 kB / 1.019 GB, free: 9.668 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3107, allocations: 43.97 kB / 1.019 GB, free: 9.625 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.3108, allocations: 31.8 kB / 1.019 GB, free: 9.594 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.3108, allocations: 27.84 kB / 1.019 GB, free: 9.566 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.3108, allocations: 8 kB / 1.019 GB, free: 9.559 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-06/0.3109, allocations: 4 kB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.3109, allocations: 19.92 kB / 1.019 GB, free: 9.535 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.3109, allocations: 35.73 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/0.311, allocations: 64.06 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.311, allocations: 8 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.243e-06/0.311, allocations: 0 / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3111, allocations: 0 / 1.019 GB, free: 9.43 MB / 0.795 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.0003959/0.3115, allocations: 379.2 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.3115, allocations: 8.922 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.3115, allocations: 8.844 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.3117, allocations: 196.1 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3117, allocations: 4.375 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3118, allocations: 8.375 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3119, allocations: 103.8 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3119, allocations: 4.125 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.312, allocations: 3.938 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.312, allocations: 4 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.312, allocations: 39.92 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.3126, allocations: 432.5 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.392e-05/0.3127, allocations: 41.28 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.3127, allocations: 17.84 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.3128, allocations: 4 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3128, allocations: 42.55 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.805e-06/0.3128, allocations: 0 / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.00017/0.313, allocations: 53.48 kB / 1.02 GB, free: 7.914 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.313, allocations: 85.05 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3132, allocations: 157.5 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.3132, allocations: 29.7 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.3133, allocations: 104.2 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.725e-06/0.3133, allocations: 7.906 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.3133, allocations: 17.72 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3135, allocations: 318.8 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.3135, allocations: 4 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.3135, allocations: 25.7 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.3136, allocations: 25.72 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3136, allocations: 0 / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001699/0.3137, allocations: 57.55 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3138, allocations: 4 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3138, allocations: 7.938 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3138, allocations: 3.984 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.3138, allocations: 4 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3139, allocations: 0 / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.3139, allocations: 11.84 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.3139, allocations: 64 / 1.021 GB, free: 6.996 MB / 0.795 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 6.624e-05/0.314, allocations: 121.8 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.314, allocations: 7.906 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.3141, allocations: 19.89 kB / 1.021 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3141, allocations: 3.984 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3141, allocations: 0 / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3141, allocations: 7.938 kB / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.3145, allocations: 466.8 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3145, allocations: 4 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.3145, allocations: 0 / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3145, allocations: 7.938 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.3145, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3145, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3145, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.032e-05/0.3146, allocations: 85.89 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3147, allocations: 85.02 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3148, allocations: 7.922 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.249e-05/0.3148, allocations: 4 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.3148, allocations: 4 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.3148, allocations: 0 / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.3149, allocations: 121.3 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3149, allocations: 0 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001891/0.3151, allocations: 8 kB / 1.022 GB, free: 5.949 MB / 0.795 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.0001018/0.3152, allocations: 99.28 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.3153, allocations: 16 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3153, allocations: 3.938 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.3153, allocations: 4 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.3155, allocations: 17.81 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.3158, allocations: 184.8 kB / 1.022 GB, free: 5.582 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.316, allocations: 0.6889 MB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.3161, allocations: 15.44 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3161, allocations: 0 / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of Templates: time 0.002155/0.3182, allocations: 0.8652 MB / 1.024 GB, free: 3.988 MB / 0.795 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/jenkins1/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