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.00108/0.00108, allocations: 92 kB / 16.02 MB, free: 80 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.001664/0.001664, allocations: 186.3 kB / 16.92 MB, free: 6.922 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.541/1.541, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 14.72 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3023, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001057/0.3034, allocations: 0.5414 MB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.3035, allocations: 43.78 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.3036, allocations: 0 / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.3036, allocations: 3.938 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.364e-05/0.3037, allocations: 3.984 kB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.42e-05/0.3037, allocations: 16 kB / 1.06 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.456e-05/0.3038, allocations: 63.69 kB / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.304, allocations: 43.97 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.62e-05/0.3041, allocations: 19.86 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.3041, allocations: 15.88 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3042, allocations: 4 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.3042, allocations: 3.938 kB / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.3042, allocations: 19.91 kB / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.3043, allocations: 53.45 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.317e-05/0.3043, allocations: 48.17 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3044, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3044, allocations: 3.938 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3044, allocations: 0 / 1.06 GB, free: 4.066 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.0003925/0.3048, allocations: 363.3 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3048, allocations: 15.97 kB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.3049, allocations: 12.84 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.3051, allocations: 188.2 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3051, allocations: 4.375 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3051, allocations: 8.375 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3053, allocations: 97.75 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.3053, allocations: 192 / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3053, allocations: 7.938 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3053, allocations: 4 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.369e-05/0.3054, allocations: 35.98 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.306, allocations: 440.5 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.306, allocations: 37.22 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.3061, allocations: 25.8 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.3061, allocations: 4 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.3061, allocations: 30.56 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.3061, allocations: 0 / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001678/0.3063, allocations: 57.48 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.3064, allocations: 81.36 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.3065, allocations: 160.5 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3065, allocations: 29.7 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.3066, allocations: 111.9 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-06/0.3066, allocations: 0 / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.3067, allocations: 9.719 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3068, allocations: 326.8 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.3068, allocations: 8 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.3068, allocations: 21.7 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.275e-05/0.3069, allocations: 29.66 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3069, allocations: 0 / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.846e-05/0.307, allocations: 49.61 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.307, allocations: 8 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.307, allocations: 7.875 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.307, allocations: 7.984 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.3071, allocations: 12 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3071, allocations: 4 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.3071, allocations: 7.844 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3072, allocations: 8 kB / 1.062 GB, free: 1.637 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 7.608e-05/0.3072, allocations: 105.8 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.3073, allocations: 11.91 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.3073, allocations: 15.8 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3073, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3073, allocations: 4 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3074, allocations: 4 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.3077, allocations: 470.8 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3077, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.3078, allocations: 4 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3078, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.3078, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3078, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3078, allocations: 4.062 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.826e-05/0.3079, allocations: 85.86 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.3079, allocations: 89 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.308, allocations: 7.984 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.308, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.308, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.308, allocations: 4.031 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.52e-05/0.3081, allocations: 122.1 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3081, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001977/0.3083, allocations: 11.91 kB / 1.063 GB, free: 0.6055 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.0001141/0.3084, allocations: 99.25 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.999e-05/0.3085, allocations: 19.88 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3085, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.3086, allocations: 12.12 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.3087, allocations: 15.92 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.3091, allocations: 198.2 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.3093, allocations: 0.6928 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.3094, allocations: 11.44 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3094, allocations: 4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.002294/0.3117, allocations: 0.8442 MB / 1.065 GB, free: 14.63 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/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