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.001833/0.001833, 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.001401/0.001401, allocations: 196.1 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.705/2.705, allocations: 437 MB / 0.7103 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 71.89 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7073/0.7089, allocations: 151.6 MB / 1.017 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002433/0.7114, allocations: 0.819 MB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.7115, allocations: 51.78 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.7116, allocations: 0 / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.834e-05/0.7117, allocations: 15.8 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.7118, allocations: 3.938 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.536e-05/0.7119, allocations: 15.98 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.712, allocations: 67.78 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.7122, allocations: 39.97 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.101e-05/0.7122, allocations: 27.86 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.7123, allocations: 27.86 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.7123, allocations: 4 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.7123, allocations: 8 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.7124, allocations: 15.92 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.7124, allocations: 35.78 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.7125, allocations: 77.62 kB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7126, allocations: 0 / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7126, allocations: 0 / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.7126, allocations: 0 / 1.018 GB, free: 1.359 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.0004637/0.713, allocations: 384.9 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.7131, allocations: 12.03 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.7131, allocations: 8.844 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.7134, allocations: 192.1 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.7134, allocations: 12.36 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.7134, allocations: 12.38 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.7136, allocations: 95.8 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.7136, allocations: 4.172 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.7136, allocations: 7.938 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.7136, allocations: 4 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.7137, allocations: 31.92 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/0.7143, allocations: 440.6 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.588e-05/0.7144, allocations: 33.22 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.7144, allocations: 21.81 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.7144, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.7145, allocations: 38.55 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7145, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.7147, allocations: 53.48 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.7147, allocations: 81.11 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.7149, allocations: 160.1 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.7149, allocations: 25.95 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.715, allocations: 115.9 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.847e-06/0.715, allocations: 7.906 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.715, allocations: 9.719 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7151, allocations: 330.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.7152, allocations: 8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.7152, allocations: 21.7 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.7152, allocations: 29.66 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7153, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.783e-05/0.7154, allocations: 57.55 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7154, allocations: 5.25 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.7154, allocations: 3.938 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.7154, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.7155, allocations: 15.98 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.7155, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.7155, allocations: 8.062 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.7155, allocations: 0 / 1.021 GB, free: 14.91 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 8.682e-05/0.7156, allocations: 113.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.7157, allocations: 11.81 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.7157, allocations: 15.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7157, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7157, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.7157, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.7161, allocations: 478.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7161, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.7162, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7162, allocations: 3.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.7162, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.7162, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7162, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.38e-05/0.7163, allocations: 89.83 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.7164, allocations: 88.95 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.7164, allocations: 3.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.7164, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.7164, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.7164, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.954e-05/0.7165, allocations: 122.5 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7165, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000188/0.7167, allocations: 12.03 kB / 1.021 GB, free: 13.86 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.0001297/0.7169, allocations: 99.25 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.199e-05/0.717, allocations: 15.94 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.717, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.717, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.7172, allocations: 11.92 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.7175, allocations: 164.1 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.7177, allocations: 0.7001 MB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.7178, allocations: 12.5 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.7178, allocations: 11.44 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.7178, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of Templates: time 0.002592/0.7204, allocations: 444.5 kB / 1.023 GB, free: 12.34 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