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.001123/0.001123, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01053/0.01053, allocations: 169 kB / 16.26 MB, free: 6.652 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.576/1.576, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.622/2.622, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003549, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8918/0.8922, allocations: 142.4 MB / 0.955 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001158/0.8934, allocations: 0.5411 MB / 0.9556 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001062/0.8935, allocations: 41.03 kB / 0.9556 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.8935, allocations: 2.281 kB / 0.9556 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.8936, allocations: 3.938 kB / 0.9556 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.8937, allocations: 9 kB / 0.9556 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.379e-05/0.8937, allocations: 18.92 kB / 0.9556 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.682e-05/0.8938, allocations: 54.91 kB / 0.9557 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.894, allocations: 38.84 kB / 0.9557 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.099e-05/0.894, allocations: 18.45 kB / 0.9557 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.8941, allocations: 27.92 kB / 0.9558 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.8941, allocations: 0.9688 kB / 0.9558 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-06/0.8941, allocations: 5.438 kB / 0.9558 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.8941, allocations: 10.58 kB / 0.9558 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.8942, allocations: 50.58 kB / 0.9558 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.851e-05/0.8943, allocations: 71.12 kB / 0.9559 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8943, allocations: 0 / 0.9559 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8943, allocations: 0 / 0.9559 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.8943, allocations: 0 / 0.9559 GB, free: 7.09 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.0003372/0.8947, allocations: 362.2 kB / 0.9562 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.8947, allocations: 9.125 kB / 0.9563 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.8948, allocations: 16.81 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.8949, allocations: 198.7 kB / 0.9565 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.895, allocations: 7.438 kB / 0.9565 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.895, allocations: 5.938 kB / 0.9565 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.8952, allocations: 94.44 kB / 0.9566 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.8952, allocations: 1.406 kB / 0.9566 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.8952, allocations: 7.938 kB / 0.9566 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.8952, allocations: 2.344 kB / 0.9566 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.8953, allocations: 40.17 kB / 0.9566 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.8957, allocations: 433.6 kB / 0.957 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.412e-05/0.8958, allocations: 41.81 kB / 0.9571 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.8958, allocations: 23.17 kB / 0.9571 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.8958, allocations: 0 / 0.9571 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.8959, allocations: 32.53 kB / 0.9571 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.8959, allocations: 0 / 0.9571 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000146/0.896, allocations: 55.11 kB / 0.9572 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.8961, allocations: 82.36 kB / 0.9573 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.8962, allocations: 164.9 kB / 0.9574 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-06/0.8962, allocations: 25.7 kB / 0.9574 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.8963, allocations: 104.4 kB / 0.9575 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.8963, allocations: 16.86 kB / 0.9575 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.8963, allocations: 10.94 kB / 0.9576 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.8964, allocations: 321.1 kB / 0.9579 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.8964, allocations: 7.906 kB / 0.9579 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.8964, allocations: 25.77 kB / 0.9579 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.8964, allocations: 22.44 kB / 0.9579 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8964, allocations: 1.281 kB / 0.9579 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.352e-05/0.8965, allocations: 59.33 kB / 0.958 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.8965, allocations: 4.25 kB / 0.958 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8966, allocations: 5.25 kB / 0.958 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.8966, allocations: 8.047 kB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.785e-05/0.8966, allocations: 6.562 kB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.8966, allocations: 0 / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.8967, allocations: 6.5 kB / 0.958 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.8967, allocations: 1.031 kB / 0.958 GB, free: 4.934 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 4.758e-05/0.8967, allocations: 113.4 kB / 0.9581 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.8968, allocations: 12.2 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.8968, allocations: 18.77 kB / 0.9581 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.8968, allocations: 1.562 kB / 0.9581 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.8968, allocations: 4 kB / 0.9582 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8968, allocations: 1.312 kB / 0.9582 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.8971, allocations: 469.8 kB / 0.9586 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.8971, allocations: 5.188 kB / 0.9586 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.8971, allocations: 6.375 kB / 0.9586 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8971, allocations: 1.219 kB / 0.9586 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.8971, allocations: 5.281 kB / 0.9586 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8972, allocations: 4.062 kB / 0.9586 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8972, allocations: 3.969 kB / 0.9586 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.826e-05/0.8972, allocations: 75.2 kB / 0.9587 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.8973, allocations: 88.23 kB / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.8973, allocations: 5.109 kB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.8973, allocations: 0 / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.8973, allocations: 10.31 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.8973, allocations: 1.094 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.359e-05/0.8974, allocations: 118.8 kB / 0.9589 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.894e-06/0.8974, allocations: 1.219 kB / 0.9589 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001745/0.8976, allocations: 14 kB / 0.9589 GB, free: 3.973 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.395e-05/0.8977, allocations: 96.97 kB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.561e-05/0.8978, allocations: 14.5 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.8978, allocations: 4.125 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.076e-05/0.8978, allocations: 7.844 kB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.8979, allocations: 11.81 kB / 0.9591 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.8982, allocations: 183.9 kB / 0.9592 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.8983, allocations: 0.6906 MB / 0.9599 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.8983, allocations: 8.953 kB / 0.9599 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.8984, allocations: 12.09 kB / 0.9599 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.8984, allocations: 0 / 0.9599 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of Templates: time 0.002197/0.9006, allocations: 427.7 kB / 0.9603 GB, free: 2.75 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