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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001374/0.001374, allocations: 108 kB / 15.6 MB, free: 132 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.001921/0.001921, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.072/3.072, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 63.55 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3762, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.00273/0.379, allocations: 0.8176 MB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000182/0.3792, allocations: 51.78 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.182e-05/0.3793, allocations: 0 / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.16e-05/0.3794, allocations: 11.86 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.894e-05/0.3795, allocations: 3.938 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.392e-05/0.3795, allocations: 15.98 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.3797, allocations: 67.78 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3798, allocations: 43.91 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.3799, allocations: 27.86 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/0.38, allocations: 27.84 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.38, allocations: 8 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.38, allocations: 8 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.3801, allocations: 15.92 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.3801, allocations: 31.75 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.3802, allocations: 68.05 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3803, allocations: 4 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3803, allocations: 3.938 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.3803, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 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.0004358/0.3807, allocations: 379.2 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3808, allocations: 8.031 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.3808, allocations: 12.84 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3811, allocations: 192.2 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3811, allocations: 8.375 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3811, allocations: 12.38 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3813, allocations: 91.89 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3813, allocations: 8.109 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3813, allocations: 7.938 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3813, allocations: 0 / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.3814, allocations: 31.98 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.382, allocations: 444.5 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.356e-05/0.382, allocations: 33.16 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.3821, allocations: 25.88 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.3821, allocations: 0 / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3821, allocations: 34.56 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.3821, allocations: 0 / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001805/0.3823, allocations: 61.47 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3824, allocations: 77.11 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3825, allocations: 165.1 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3825, allocations: 25.7 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.3826, allocations: 112.2 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.735e-06/0.3826, allocations: 3.906 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.3827, allocations: 13.72 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3829, allocations: 322.8 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.3829, allocations: 8 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.3829, allocations: 17.72 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.063e-05/0.383, allocations: 29.66 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.383, allocations: 3.938 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.933e-05/0.3831, allocations: 57.59 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3832, allocations: 5.562 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3832, allocations: 7.875 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3832, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.3833, allocations: 12 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3833, allocations: 3.984 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.3833, allocations: 11.84 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3833, allocations: 12.05 kB / 1.071 GB, free: 6.793 MB / 0.8262 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.31e-05/0.3834, allocations: 114.4 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.3835, allocations: 7.906 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.3835, allocations: 7.812 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3835, allocations: 4 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.3835, allocations: 0 / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3835, allocations: 3.938 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.3839, allocations: 482.7 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.384, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.384, allocations: 4 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.384, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.384, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.384, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.384, allocations: 4 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.3841, allocations: 89.83 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.3842, allocations: 85.02 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3842, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.024e-05/0.3843, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.3843, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3843, allocations: 7.984 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000106/0.3844, allocations: 113.5 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3844, allocations: 4 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002298/0.3846, allocations: 15.94 kB / 1.072 GB, free: 5.754 MB / 0.8262 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.0001602/0.3848, allocations: 103.2 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.3849, allocations: 15.94 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3849, allocations: 0 / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-06/0.385, allocations: 4 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.3851, allocations: 11.94 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.3855, allocations: 171 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3858, allocations: 0.6889 MB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.3858, allocations: 16.5 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.3858, allocations: 11.44 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.3858, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of Templates: time 0.003086/0.3889, allocations: 452.5 kB / 1.074 GB, free: 4.23 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