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.001269/0.00127, allocations: 102.6 kB / 15.98 MB, free: 6.344 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.001461/0.001461, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.459/2.459, allocations: 437 MB / 0.7107 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 66.19 kB / 0.8694 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.317, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002316/0.3194, allocations: 0.8954 MB / 1.018 GB, free: 10.12 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001402/0.3196, allocations: 43.78 kB / 1.018 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.3196, allocations: 0 / 1.018 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.623e-05/0.3197, allocations: 7.922 kB / 1.018 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.3198, allocations: 0 / 1.018 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.896e-05/0.3199, allocations: 16 kB / 1.018 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.32, allocations: 71.69 kB / 1.018 GB, free: 9.984 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3201, allocations: 39.97 kB / 1.019 GB, free: 9.945 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.316e-05/0.3202, allocations: 31.86 kB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.3202, allocations: 23.86 kB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.3203, allocations: 8 kB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.3203, allocations: 4 kB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.3203, allocations: 19.92 kB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.3204, allocations: 35.73 kB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.907e-05/0.3205, allocations: 56.11 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3205, allocations: 4 kB / 1.019 GB, free: 9.766 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3205, allocations: 0 / 1.019 GB, free: 9.766 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.3205, allocations: 0 / 1.019 GB, free: 9.766 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.0004274/0.3209, allocations: 379.2 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.321, allocations: 8.922 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.321, allocations: 8.844 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3212, allocations: 192.2 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3213, allocations: 8.359 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.3213, allocations: 8.375 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3214, allocations: 102.3 kB / 1.019 GB, free: 8.977 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3215, allocations: 192 / 1.019 GB, free: 8.977 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3215, allocations: 15.88 kB / 1.019 GB, free: 8.961 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3215, allocations: 4 kB / 1.019 GB, free: 8.957 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.678e-05/0.3216, allocations: 35.92 kB / 1.019 GB, free: 8.922 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.3221, allocations: 440.6 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.3222, allocations: 37.22 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.3222, allocations: 21.81 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.3222, allocations: 4 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.3223, allocations: 30.56 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.3223, allocations: 0 / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001783/0.3224, allocations: 61.47 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3225, allocations: 77.11 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3226, allocations: 160.9 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.3227, allocations: 25.7 kB / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.3227, allocations: 111.9 kB / 1.02 GB, free: 7.84 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.3228, allocations: 7.906 kB / 1.02 GB, free: 7.832 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.3228, allocations: 13.72 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3229, allocations: 323.1 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.3229, allocations: 8 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.152e-05/0.3229, allocations: 13.72 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.376e-05/0.323, allocations: 33.66 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.323, allocations: 0 / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.281e-05/0.3231, allocations: 57.59 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3231, allocations: 8 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3231, allocations: 7.938 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3232, allocations: 0 / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/0.3232, allocations: 4 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3232, allocations: 0 / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.3233, allocations: 15.84 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.3233, allocations: 0 / 1.021 GB, free: 7.324 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 7.804e-05/0.3234, allocations: 117.8 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.3234, allocations: 7.906 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.3234, allocations: 15.81 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3234, allocations: 4 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3235, allocations: 0 / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3235, allocations: 0 / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.3238, allocations: 470.8 kB / 1.021 GB, free: 6.648 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3238, allocations: 4 kB / 1.021 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.3239, allocations: 3.984 kB / 1.021 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3239, allocations: 8.062 kB / 1.021 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.3239, allocations: 0 / 1.021 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3239, allocations: 3.938 kB / 1.021 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3239, allocations: 0 / 1.021 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.521e-05/0.324, allocations: 77.78 kB / 1.021 GB, free: 6.531 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.3241, allocations: 93 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.3241, allocations: 32 / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.3241, allocations: 4 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.3241, allocations: 4 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.3241, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.548e-05/0.3242, allocations: 121.1 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3242, allocations: 3.938 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001897/0.3244, allocations: 8 kB / 1.022 GB, free: 6.285 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.0001202/0.3245, allocations: 103.2 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.507e-05/0.3246, allocations: 23.94 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3246, allocations: 0 / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.3247, allocations: 4 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.3248, allocations: 11.94 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.3252, allocations: 212.7 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.3254, allocations: 0.6924 MB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.3255, allocations: 11.44 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3255, allocations: 0 / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of Templates: time 0.002227/0.3277, allocations: 0.86 MB / 1.024 GB, free: 4.297 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