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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001106/0.001106, allocations: 100.1 kB / 15.88 MB, free: 12 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.001933/0.001933, allocations: 200.4 kB / 16.79 MB, free: 6.809 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 / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.7162, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.00208/0.7183, allocations: 0.8772 MB / 0.9504 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001006/0.7184, allocations: 37.5 kB / 0.9505 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.7185, allocations: 9.656 kB / 0.9505 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.791e-05/0.7186, allocations: 3.938 kB / 0.9505 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.321e-05/0.7187, allocations: 9.328 kB / 0.9505 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.792e-05/0.7187, allocations: 10.91 kB / 0.9505 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.7188, allocations: 59.16 kB / 0.9506 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.719, allocations: 43.09 kB / 0.9506 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.52e-05/0.7191, allocations: 22.73 kB / 0.9506 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.7192, allocations: 29.3 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.7192, allocations: 4.125 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.7192, allocations: 4.125 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.7192, allocations: 17.28 kB / 0.9507 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.7193, allocations: 26.69 kB / 0.9507 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.357e-05/0.7194, allocations: 52.88 kB / 0.9508 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7194, allocations: 4 kB / 0.9508 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7194, allocations: 0 / 0.9508 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.7194, allocations: 3.938 kB / 0.9508 GB, free: 8.273 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.0004101/0.7198, allocations: 378.5 kB / 0.9511 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.7199, allocations: 9.625 kB / 0.9511 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.7199, allocations: 8.969 kB / 0.9511 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.7201, allocations: 195.2 kB / 0.9513 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.7201, allocations: 7.062 kB / 0.9513 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.7202, allocations: 9.875 kB / 0.9513 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.7203, allocations: 96.64 kB / 0.9514 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7203, allocations: 1.562 kB / 0.9514 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.7203, allocations: 7.938 kB / 0.9514 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.7204, allocations: 6.688 kB / 0.9515 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.408e-05/0.7204, allocations: 35.23 kB / 0.9515 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.7209, allocations: 436.5 kB / 0.9519 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.797e-05/0.721, allocations: 41.27 kB / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.721, allocations: 20.62 kB / 0.952 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.721, allocations: 0 / 0.952 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.7211, allocations: 39.94 kB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.7211, allocations: 0 / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001845/0.7212, allocations: 59.22 kB / 0.9521 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.7213, allocations: 78.48 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.7214, allocations: 162.4 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.7214, allocations: 27.11 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.7215, allocations: 104.7 kB / 0.9524 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-06/0.7215, allocations: 11.89 kB / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.7215, allocations: 17.94 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.7216, allocations: 317.5 kB / 0.9527 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.7216, allocations: 6.734 kB / 0.9527 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.7216, allocations: 19.03 kB / 0.9528 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/0.7217, allocations: 29.78 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7217, allocations: 1.5 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.28e-05/0.7218, allocations: 57.66 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7218, allocations: 6.062 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7218, allocations: 3.938 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.7218, allocations: 5.094 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.7219, allocations: 5.812 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7219, allocations: 5.422 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.7219, allocations: 1.406 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.7219, allocations: 5.406 kB / 0.9529 GB, free: 6.105 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 5.938e-05/0.722, allocations: 114 kB / 0.953 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.7221, allocations: 12.08 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.7221, allocations: 18.34 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7221, allocations: 0 / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7221, allocations: 1.562 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.7221, allocations: 0 / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.7224, allocations: 474.8 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7224, allocations: 0 / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.7224, allocations: 3.75 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7224, allocations: 1.156 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.7225, allocations: 3.984 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7225, allocations: 1.25 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7225, allocations: 5.281 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.954e-05/0.7225, allocations: 85.91 kB / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.7226, allocations: 95.48 kB / 0.9537 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.7226, allocations: 1.25 kB / 0.9537 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.7226, allocations: 5.344 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.7227, allocations: 5.25 kB / 0.9537 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.7227, allocations: 1.219 kB / 0.9537 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.388e-05/0.7227, allocations: 120.4 kB / 0.9538 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7227, allocations: 0 / 0.9538 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001856/0.7229, allocations: 11.62 kB / 0.9538 GB, free: 5.145 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 9.286e-05/0.723, allocations: 96 kB / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.61e-05/0.7231, allocations: 21.92 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7231, allocations: 1.219 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.7232, allocations: 4.344 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.7233, allocations: 15.8 kB / 0.9539 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.7236, allocations: 209.2 kB / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.7237, allocations: 0.6988 MB / 0.9548 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.7238, allocations: 14.38 kB / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7238, allocations: 1.844 kB / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of Templates: time 0.002257/0.726, allocations: 0.8459 MB / 0.9557 GB, free: 3.672 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/jenkins1/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