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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001022/0.001029, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008409/0.00841, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.859/2.859, allocations: 462.7 MB / 0.7364 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.000384, allocations: 8.25 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4217, allocations: 159.6 MB / 1.059 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001286/0.4231, allocations: 0.5492 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001211/0.4232, allocations: 39.78 kB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.4233, allocations: 8 kB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.4233, allocations: 3.938 kB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.766e-05/0.4234, allocations: 3.984 kB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.865e-05/0.4235, allocations: 15.98 kB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.4236, allocations: 67.69 kB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.4238, allocations: 39.97 kB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.4239, allocations: 19.88 kB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.4239, allocations: 15.86 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.4239, allocations: 0 / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.424, allocations: 4 kB / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.424, allocations: 11.88 kB / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.424, allocations: 61.38 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.4242, allocations: 64.03 kB / 1.06 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4242, allocations: 0 / 1.06 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4242, allocations: 4 kB / 1.06 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4242, allocations: 0 / 1.06 GB, free: 4.637 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.0004646/0.4247, allocations: 359.3 kB / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4247, allocations: 12.03 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.4248, allocations: 12.83 kB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.425, allocations: 196.2 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.425, allocations: 384 / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.425, allocations: 12.38 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.4252, allocations: 91.89 kB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4253, allocations: 4.125 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.4253, allocations: 7.938 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.4253, allocations: 7.984 kB / 1.06 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.309e-05/0.4254, allocations: 43.91 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.426, allocations: 436.6 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.597e-05/0.4261, allocations: 41.19 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.4261, allocations: 17.84 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.4261, allocations: 4 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.4262, allocations: 34.56 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4262, allocations: 0 / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001974/0.4264, allocations: 61.47 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.4264, allocations: 81.11 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.4266, allocations: 152.9 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.4266, allocations: 29.7 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.4267, allocations: 116.1 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-06/0.4267, allocations: 0 / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.4267, allocations: 9.719 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4269, allocations: 322.8 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.4269, allocations: 8 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.427, allocations: 13.72 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/0.427, allocations: 37.64 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.427, allocations: 0 / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.643e-05/0.4271, allocations: 57.55 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4271, allocations: 6.031 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4272, allocations: 3.938 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4272, allocations: 0 / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.4273, allocations: 11.98 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4273, allocations: 3.938 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.4273, allocations: 7.844 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.4273, allocations: 8 kB / 1.062 GB, free: 2.211 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 8.417e-05/0.4274, allocations: 115.4 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.4275, allocations: 7.906 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.4275, allocations: 11.81 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4275, allocations: 4 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4275, allocations: 0 / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4275, allocations: 7.922 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.4279, allocations: 474.8 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4279, allocations: 0 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.4279, allocations: 4 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4279, allocations: 0 / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.4279, allocations: 0 / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4279, allocations: 0 / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.428, allocations: 4 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.44e-05/0.4281, allocations: 85.83 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.4281, allocations: 85.02 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.4281, allocations: 8 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.901e-05/0.4282, allocations: 0 / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.4282, allocations: 3.984 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.4282, allocations: 4 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.903e-05/0.4283, allocations: 111.3 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4283, allocations: 4 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001913/0.4285, allocations: 11.89 kB / 1.063 GB, free: 1.176 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.0001467/0.4287, allocations: 99.28 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.219e-05/0.4288, allocations: 19.94 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4288, allocations: 0 / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.255e-05/0.4288, allocations: 8 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.429, allocations: 15.31 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.4293, allocations: 180.8 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.4296, allocations: 0.6926 MB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.4297, allocations: 12.42 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.4297, allocations: 7.438 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.4297, allocations: 7.938 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of Templates: time 0.00295/0.4327, allocations: 420.7 kB / 1.064 GB, free: 15.66 MB / 0.8262 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/jenkins/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