Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001049/0.001049, 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.001069/0.001069, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.522/2.522, allocations: 390.2 MB / 0.6642 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8791/0.8804, allocations: 140.4 MB / 0.9489 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002264/0.8827, allocations: 0.8766 MB / 0.9498 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001603/0.8829, allocations: 40.84 kB / 0.9498 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.8829, allocations: 6.406 kB / 0.9498 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.798e-05/0.883, allocations: 11.92 kB / 0.9498 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.055e-05/0.8831, allocations: 3.938 kB / 0.9498 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.034e-05/0.8832, allocations: 19.48 kB / 0.9499 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.373e-05/0.8833, allocations: 47.7 kB / 0.9499 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.8834, allocations: 47.42 kB / 0.9499 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.686e-05/0.8835, allocations: 30.33 kB / 0.95 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.8835, allocations: 33.75 kB / 0.95 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.8836, allocations: 4 kB / 0.95 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.8836, allocations: 3.719 kB / 0.95 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.8836, allocations: 9.5 kB / 0.95 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.8837, allocations: 30.8 kB / 0.9501 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.8838, allocations: 69.73 kB / 0.9501 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8838, allocations: 0 / 0.9501 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8838, allocations: 1.344 kB / 0.9501 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.8838, allocations: 4 kB / 0.9501 GB, free: 8.164 MB / 0.7169 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.0003986/0.8842, allocations: 381.9 kB / 0.9505 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.8843, allocations: 9.688 kB / 0.9505 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.8843, allocations: 9.031 kB / 0.9505 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.8845, allocations: 190.6 kB / 0.9507 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.8845, allocations: 3.75 kB / 0.9507 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.8846, allocations: 9.906 kB / 0.9507 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.8847, allocations: 98.94 kB / 0.9508 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.8847, allocations: 192 / 0.9508 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.8848, allocations: 5.562 kB / 0.9508 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.8848, allocations: 1.281 kB / 0.9508 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.381e-05/0.8849, allocations: 39.61 kB / 0.9508 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.8853, allocations: 436.8 kB / 0.9513 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.877e-05/0.8854, allocations: 41.41 kB / 0.9513 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.8854, allocations: 16.59 kB / 0.9513 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.8855, allocations: 0 / 0.9513 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.8855, allocations: 43.92 kB / 0.9514 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.8855, allocations: 0 / 0.9514 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000173/0.8857, allocations: 55.23 kB / 0.9514 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.8857, allocations: 81.05 kB / 0.9515 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.8858, allocations: 163.4 kB / 0.9516 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.8859, allocations: 27.08 kB / 0.9517 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.8859, allocations: 111.9 kB / 0.9518 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.8859, allocations: 5.531 kB / 0.9518 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.886, allocations: 20.47 kB / 0.9518 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.886, allocations: 321.6 kB / 0.9521 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.886, allocations: 2.75 kB / 0.9521 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.8861, allocations: 23.2 kB / 0.9521 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.767e-05/0.8861, allocations: 21.97 kB / 0.9522 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8861, allocations: 5.375 kB / 0.9522 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.119e-05/0.8862, allocations: 58.05 kB / 0.9522 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.8863, allocations: 9.438 kB / 0.9522 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8863, allocations: 5.312 kB / 0.9522 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.8863, allocations: 3.984 kB / 0.9522 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.84e-05/0.8864, allocations: 5.5 kB / 0.9522 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.8864, allocations: 1.375 kB / 0.9522 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/0.8864, allocations: 2.75 kB / 0.9522 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.8864, allocations: 1.375 kB / 0.9522 GB, free: 6.004 MB / 0.7169 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.019e-05/0.8865, allocations: 120.6 kB / 0.9524 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.8865, allocations: 8.031 kB / 0.9524 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.8866, allocations: 18.55 kB / 0.9524 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.8866, allocations: 1.375 kB / 0.9524 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8866, allocations: 4 kB / 0.9524 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8866, allocations: 5.453 kB / 0.9524 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.8869, allocations: 474 kB / 0.9528 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8869, allocations: 1.375 kB / 0.9528 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.8869, allocations: 2.75 kB / 0.9528 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8869, allocations: 0 / 0.9528 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.887, allocations: 1.375 kB / 0.9528 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.887, allocations: 1.375 kB / 0.9528 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.887, allocations: 0 / 0.9528 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.775e-05/0.887, allocations: 86.27 kB / 0.9529 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.8871, allocations: 87.7 kB / 0.953 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.8871, allocations: 9.297 kB / 0.953 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.228e-05/0.8871, allocations: 1.375 kB / 0.953 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.8872, allocations: 5.375 kB / 0.953 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8872, allocations: 1.375 kB / 0.953 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.8872, allocations: 124.4 kB / 0.9532 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8873, allocations: 0 / 0.9532 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001951/0.8874, allocations: 6.875 kB / 0.9532 GB, free: 5.043 MB / 0.7169 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.0001071/0.8876, allocations: 99.78 kB / 0.9533 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.369e-05/0.8877, allocations: 14.78 kB / 0.9533 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8877, allocations: 0 / 0.9533 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.349e-05/0.8877, allocations: 8.469 kB / 0.9533 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.8879, allocations: 14.95 kB / 0.9533 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.8882, allocations: 179 kB / 0.9535 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.8883, allocations: 0.6911 MB / 0.9541 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.8883, allocations: 8.547 kB / 0.9541 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.8884, allocations: 15.91 kB / 0.9542 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/0.8884, allocations: 0 / 0.9542 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of Templates: time 0.002658/0.891, allocations: 429.5 kB / 0.9546 GB, free: 3.824 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches