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.01009/0.01009, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.002085/0.002085, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.554/1.554, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.972/2.972, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 72.11 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3822, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002006/0.3843, allocations: 0.8293 MB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001268/0.3844, allocations: 47.78 kB / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.3845, allocations: 0 / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.896e-05/0.3845, allocations: 7.875 kB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.388e-05/0.3846, allocations: 3.938 kB / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.139e-05/0.3847, allocations: 19.97 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.3848, allocations: 67.78 kB / 1.209 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.385, allocations: 43.92 kB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.3851, allocations: 27.86 kB / 1.209 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.426e-05/0.3851, allocations: 23.86 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.3851, allocations: 8 kB / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.3852, allocations: 4 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/0.3852, allocations: 27.91 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.3852, allocations: 27.75 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.3854, allocations: 79.64 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3854, allocations: 0 / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3854, allocations: 3.938 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3854, allocations: 0 / 1.209 GB, free: 8.453 MB / 0.9669 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.0004433/0.3859, allocations: 379.2 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3859, allocations: 8.625 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.3859, allocations: 12.84 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.3862, allocations: 200.1 kB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3862, allocations: 8.375 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.3862, allocations: 8.375 kB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3864, allocations: 87.95 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3864, allocations: 192 / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3864, allocations: 7.938 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3864, allocations: 0 / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.3865, allocations: 35.92 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005836/0.3871, allocations: 440.6 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.394e-05/0.3871, allocations: 37.19 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.3872, allocations: 21.84 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.3873, allocations: 4 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3873, allocations: 30.56 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.615e-06/0.3873, allocations: 3.984 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001879/0.3875, allocations: 61.47 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.3875, allocations: 77.11 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3877, allocations: 159.1 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3877, allocations: 29.7 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3879, allocations: 108 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.638e-06/0.3879, allocations: 3.906 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.3879, allocations: 17.62 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.388, allocations: 322.8 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.3881, allocations: 15.94 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.3881, allocations: 17.66 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.659e-05/0.3882, allocations: 29.72 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3882, allocations: 0 / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.665e-05/0.3883, allocations: 53.62 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3883, allocations: 8 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3883, allocations: 3.938 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3883, allocations: 0 / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.3884, allocations: 8 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3884, allocations: 64 / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.3884, allocations: 15.84 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3884, allocations: 4 kB / 1.211 GB, free: 6.016 MB / 0.9669 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.16e-05/0.3885, allocations: 117.8 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.3886, allocations: 11.84 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.3886, allocations: 7.812 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3886, allocations: 4 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3886, allocations: 0 / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3886, allocations: 0 / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.3891, allocations: 474.8 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3891, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.3891, allocations: 11.92 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3891, allocations: 0 / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3891, allocations: 0 / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3891, allocations: 0 / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3891, allocations: 0 / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.037e-05/0.3892, allocations: 85.81 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.3893, allocations: 89 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.3893, allocations: 4 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.3893, allocations: 0 / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.3893, allocations: 0 / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.3893, allocations: 0 / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.176e-05/0.3894, allocations: 121.1 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.274e-06/0.3894, allocations: 4.031 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002048/0.3897, allocations: 15.94 kB / 1.212 GB, free: 4.977 MB / 0.9669 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.0001124/0.3898, allocations: 101.5 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.3899, allocations: 16 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3899, allocations: 0 / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.3899, allocations: 11.88 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.39, allocations: 17.75 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.3904, allocations: 165.3 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.3907, allocations: 0.6885 MB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.086e-05/0.3907, allocations: 8.422 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.3908, allocations: 11.44 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3908, allocations: 0 / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of Templates: time 0.002597/0.3934, allocations: 485 kB / 1.213 GB, free: 3.426 MB / 0.9669 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