Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001247/0.001247, allocations: 100.1 kB / 15.88 MB, free: 12 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.001467/0.001468, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.83 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3063, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002275/0.3087, allocations: 0.8802 MB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.3088, allocations: 39.84 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.3089, allocations: 0 / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.422e-05/0.3089, allocations: 11.92 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.928e-05/0.3091, allocations: 3.938 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.309e-05/0.3091, allocations: 16 kB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.3092, allocations: 63.75 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3094, allocations: 47.89 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.155e-05/0.3094, allocations: 23.86 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.3095, allocations: 23.86 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3095, allocations: 4 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.3095, allocations: 4 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.3095, allocations: 11.92 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.3096, allocations: 35.73 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.879e-05/0.3097, allocations: 56.17 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3097, allocations: 0 / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3097, allocations: 4 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3097, allocations: 0 / 1.054 GB, free: 7.027 MB / 0.8106 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.000464/0.3102, allocations: 379.3 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3102, allocations: 11.97 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.3103, allocations: 12.78 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.3105, allocations: 192.2 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3105, allocations: 4.375 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3105, allocations: 12.38 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3107, allocations: 97.2 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3107, allocations: 4.125 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3108, allocations: 7.938 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3108, allocations: 4 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.3109, allocations: 31.98 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.3114, allocations: 444.5 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.789e-05/0.3115, allocations: 33.22 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.3116, allocations: 17.78 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.3116, allocations: 4.094 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3116, allocations: 38.5 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.3116, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001768/0.3118, allocations: 57.47 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.3119, allocations: 77.11 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.312, allocations: 164.7 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.312, allocations: 25.7 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.3121, allocations: 112.2 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.3121, allocations: 15.83 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.3122, allocations: 13.72 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3123, allocations: 318.8 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.3123, allocations: 8 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.3123, allocations: 13.72 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.356e-05/0.3124, allocations: 33.66 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3124, allocations: 4 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.397e-05/0.3125, allocations: 53.59 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3125, allocations: 4 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3125, allocations: 7.938 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3126, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.3126, allocations: 7.938 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3126, allocations: 3.984 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.3127, allocations: 15.84 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3127, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 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.624e-05/0.3128, allocations: 121.9 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.3129, allocations: 7.906 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.3129, allocations: 11.91 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3129, allocations: 3.984 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3129, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3129, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.3133, allocations: 474.8 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3134, allocations: 4 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.3134, allocations: 3.984 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3134, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3134, allocations: 7.938 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3134, allocations: 4 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3134, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.605e-05/0.3135, allocations: 81.84 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.3136, allocations: 93 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.3136, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.3136, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.3137, allocations: 4 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.3137, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.797e-05/0.3138, allocations: 119.2 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.714e-06/0.3138, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002064/0.314, allocations: 15.94 kB / 1.057 GB, free: 3.535 MB / 0.8106 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.0001265/0.3141, allocations: 103.3 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.3142, allocations: 19.94 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3142, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.3142, allocations: 4 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.3144, allocations: 14 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.3148, allocations: 210.5 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.315, allocations: 0.6887 MB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.3151, allocations: 11.44 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of SimCode: time 1.754e-06/0.3151, allocations: 4 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of Templates: time 0.00214/0.3172, allocations: 0.852 MB / 1.059 GB, free: 1.559 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches