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.001225/0.001225, allocations: 90.52 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.01091/0.01091, allocations: 170.2 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.452/1.452, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0006225/0.0006224, allocations: 14.81 kB / 0.9028 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3821, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.0009756/0.3831, allocations: 0.5453 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000121/0.3832, allocations: 43.78 kB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.3833, allocations: 4 kB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.3833, allocations: 3.938 kB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.3834, allocations: 7.922 kB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.483e-05/0.3835, allocations: 12 kB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.546e-05/0.3836, allocations: 67.69 kB / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3837, allocations: 43.97 kB / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.3838, allocations: 15.86 kB / 1.059 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.3838, allocations: 15.88 kB / 1.059 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3838, allocations: 4 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-06/0.3839, allocations: 0 / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.3839, allocations: 19.91 kB / 1.059 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.3839, allocations: 53.39 kB / 1.059 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.938e-05/0.384, allocations: 60.05 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3841, allocations: 0 / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3841, allocations: 4 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3841, allocations: 0 / 1.06 GB, free: 4.562 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.0003759/0.3845, allocations: 368.3 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3845, allocations: 8.031 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.3845, allocations: 8.844 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3847, allocations: 196.1 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3847, allocations: 8.375 kB / 1.06 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.3848, allocations: 8.375 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3849, allocations: 97.12 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3849, allocations: 4.188 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.385, allocations: 11.88 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.385, allocations: 0 / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.035e-05/0.385, allocations: 39.92 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.3856, allocations: 436.6 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.43e-05/0.3856, allocations: 37.38 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.3857, allocations: 29.64 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.3857, allocations: 0 / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.3857, allocations: 34.56 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3857, allocations: 4 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001643/0.3859, allocations: 53.48 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.386, allocations: 81.11 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3861, allocations: 156.9 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3861, allocations: 25.7 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.3862, allocations: 116.1 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.3862, allocations: 4 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.3862, allocations: 9.719 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3864, allocations: 318.8 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.3864, allocations: 11.94 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.3864, allocations: 17.7 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.578e-05/0.3865, allocations: 37.66 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3865, allocations: 0 / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.673e-05/0.3866, allocations: 53.55 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3866, allocations: 7.984 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3866, allocations: 7.938 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.3866, allocations: 0 / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.3867, allocations: 4 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3867, allocations: 0 / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.3867, allocations: 11.84 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.3867, allocations: 0 / 1.062 GB, free: 2.141 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.592e-05/0.3868, allocations: 117.9 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.3869, allocations: 7.906 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.3869, allocations: 19.8 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3869, allocations: 0 / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3869, allocations: 0 / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3869, allocations: 0 / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.3873, allocations: 478.7 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3873, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.3873, allocations: 4 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3873, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.3873, allocations: 4 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3873, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3873, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.995e-05/0.3874, allocations: 85.83 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.3875, allocations: 93 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3875, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.3875, allocations: 96 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.3876, allocations: 7.984 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.3876, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.031e-05/0.3877, allocations: 121.9 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3877, allocations: 0 / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001913/0.3879, allocations: 11.91 kB / 1.063 GB, free: 1.098 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.0001292/0.388, allocations: 99.28 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.672e-05/0.3881, allocations: 19.94 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3881, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.602e-05/0.3881, allocations: 11.98 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.3883, allocations: 7.938 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.3886, allocations: 179.9 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3889, allocations: 0.6926 MB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.389, allocations: 12.36 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.389, allocations: 15.48 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of SimCode: time 1.833e-06/0.389, allocations: 0 / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of Templates: time 0.002661/0.3917, allocations: 420.5 kB / 1.064 GB, free: 15.59 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