Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002149/0.002149, allocations: 193.8 kB / 16.14 MB, free: 6.691 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.8/2.8, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.67 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3511, allocations: 157.4 MB / 1.052 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002919/0.3541, allocations: 0.8958 MB / 1.053 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001387/0.3542, allocations: 35.8 kB / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.3543, allocations: 4 kB / 1.053 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.417e-05/0.3544, allocations: 7.938 kB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.3544, allocations: 7.922 kB / 1.053 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.736e-05/0.3545, allocations: 19.98 kB / 1.053 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.3546, allocations: 59.75 kB / 1.053 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3547, allocations: 43.97 kB / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.695e-05/0.3548, allocations: 23.86 kB / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.3549, allocations: 23.86 kB / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.3549, allocations: 4 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.3549, allocations: 4 kB / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.3549, allocations: 19.86 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.355, allocations: 27.81 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3551, allocations: 75.97 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3551, allocations: 0 / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3551, allocations: 0 / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3551, allocations: 4 kB / 1.053 GB, free: 7.625 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.0004475/0.3556, allocations: 375.3 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3556, allocations: 8.031 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.3557, allocations: 8.844 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.3559, allocations: 192.2 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3559, allocations: 8.312 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3559, allocations: 8.375 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3561, allocations: 95.86 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3561, allocations: 192 / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3561, allocations: 7.938 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3561, allocations: 0 / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.3562, allocations: 39.92 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.3568, allocations: 444.5 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.984e-05/0.3569, allocations: 45.19 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.872e-05/0.357, allocations: 17.84 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.357, allocations: 0 / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.357, allocations: 34.56 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.357, allocations: 4 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002005/0.3572, allocations: 61.41 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.3573, allocations: 81.11 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.3575, allocations: 161.1 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3575, allocations: 25.7 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.3576, allocations: 99.98 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.3576, allocations: 7.891 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.3577, allocations: 21.97 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3578, allocations: 318.8 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.3578, allocations: 4 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.669e-05/0.3579, allocations: 29.64 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.3579, allocations: 21.72 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3579, allocations: 0 / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.585e-05/0.358, allocations: 65.53 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3581, allocations: 5.875 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.3581, allocations: 7.938 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3581, allocations: 0 / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.3582, allocations: 4 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3582, allocations: 0 / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.3582, allocations: 11.84 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.3582, allocations: 0 / 1.055 GB, free: 5.195 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 0.000105/0.3583, allocations: 121.9 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.3584, allocations: 7.906 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.3584, allocations: 15.81 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3584, allocations: 0 / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3584, allocations: 0 / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3585, allocations: 4 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.3589, allocations: 466.8 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3589, allocations: 8.062 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.3589, allocations: 7.984 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.3589, allocations: 7.938 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.3589, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3589, allocations: 3.938 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3589, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.909e-05/0.359, allocations: 73.84 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.3591, allocations: 93.03 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.3591, allocations: 4 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.3591, allocations: 4 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.3592, allocations: 0 / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.3592, allocations: 0 / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.984e-05/0.3593, allocations: 119.2 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3593, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000188/0.3595, allocations: 8 kB / 1.056 GB, free: 4.156 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.0001529/0.3596, allocations: 107.1 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.968e-05/0.3597, allocations: 19.98 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3597, allocations: 0 / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.3597, allocations: 8 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.3599, allocations: 11.88 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.3603, allocations: 184.8 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.3606, allocations: 0.6887 MB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.3606, allocations: 8.422 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.3606, allocations: 19.38 kB / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3606, allocations: 0 / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of Templates: time 0.002392/0.363, allocations: 428.6 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches