Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.0007723/0.0007724, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009116/0.0009116, allocations: 188.4 kB / 16.92 MB, free: 6.684 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.324 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.485/2.485, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 16.22 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7247/0.725, allocations: 142.4 MB / 0.9557 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.000873/0.726, allocations: 0.5419 MB / 0.9562 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.592e-05/0.7261, allocations: 44.39 kB / 0.9563 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.7261, allocations: 2 kB / 0.9563 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.7261, allocations: 7.938 kB / 0.9563 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/0.7262, allocations: 5.031 kB / 0.9563 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.821e-05/0.7263, allocations: 18.95 kB / 0.9563 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.423e-05/0.7264, allocations: 54.41 kB / 0.9564 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.7265, allocations: 43.62 kB / 0.9564 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.7265, allocations: 12.67 kB / 0.9564 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.7266, allocations: 28.67 kB / 0.9564 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.7266, allocations: 5.125 kB / 0.9564 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.7266, allocations: 2.312 kB / 0.9565 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.7266, allocations: 5.312 kB / 0.9565 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.7267, allocations: 55.09 kB / 0.9565 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.566e-05/0.7268, allocations: 49.06 kB / 0.9566 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7268, allocations: 0 / 0.9566 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7268, allocations: 0 / 0.9566 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.7268, allocations: 4 kB / 0.9566 GB, free: 7.344 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.0003076/0.7271, allocations: 361.4 kB / 0.9569 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.7271, allocations: 10.03 kB / 0.9569 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.7272, allocations: 13.12 kB / 0.9569 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.7273, allocations: 202.7 kB / 0.9571 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.7273, allocations: 2.938 kB / 0.9571 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.7274, allocations: 9.875 kB / 0.9571 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.7275, allocations: 94.77 kB / 0.9572 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.7275, allocations: 192 / 0.9572 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.7275, allocations: 5.5 kB / 0.9572 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.7275, allocations: 1.406 kB / 0.9572 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.7276, allocations: 40.27 kB / 0.9573 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.7281, allocations: 441.4 kB / 0.9577 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.007e-05/0.7281, allocations: 41.22 kB / 0.9577 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.7281, allocations: 16.16 kB / 0.9577 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.984e-06/0.7282, allocations: 0 / 0.9577 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.7282, allocations: 40.81 kB / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7282, allocations: 0 / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001556/0.7283, allocations: 59.06 kB / 0.9578 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.7284, allocations: 77.11 kB / 0.9579 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.7285, allocations: 164.9 kB / 0.9581 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.7285, allocations: 25.7 kB / 0.9581 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.7286, allocations: 104.9 kB / 0.9582 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.238e-06/0.7286, allocations: 9.031 kB / 0.9582 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.7286, allocations: 14.88 kB / 0.9582 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.7287, allocations: 320.9 kB / 0.9585 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.7287, allocations: 7.281 kB / 0.9585 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.7287, allocations: 19.16 kB / 0.9585 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.7287, allocations: 21.41 kB / 0.9586 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.7288, allocations: 5.062 kB / 0.9586 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.34e-05/0.7288, allocations: 62.53 kB / 0.9586 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.7288, allocations: 5.688 kB / 0.9586 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7289, allocations: 3.938 kB / 0.9586 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.7289, allocations: 5.062 kB / 0.9586 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.7289, allocations: 5.312 kB / 0.9587 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.7289, allocations: 1.125 kB / 0.9587 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.729, allocations: 5.75 kB / 0.9587 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.729, allocations: 6 kB / 0.9587 GB, free: 5.188 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.933e-05/0.7291, allocations: 121 kB / 0.9588 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.7291, allocations: 7.844 kB / 0.9588 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.7291, allocations: 15.53 kB / 0.9588 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.7291, allocations: 0 / 0.9588 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7291, allocations: 1.031 kB / 0.9588 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7292, allocations: 5 kB / 0.9588 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.7294, allocations: 470.6 kB / 0.9593 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7294, allocations: 0 / 0.9593 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.7295, allocations: 11.55 kB / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.7295, allocations: 1.281 kB / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.7295, allocations: 0 / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7295, allocations: 1.125 kB / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7295, allocations: 0 / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.015e-05/0.7295, allocations: 83.22 kB / 0.9593 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.7296, allocations: 91.91 kB / 0.9594 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.7296, allocations: 4.875 kB / 0.9594 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/0.7296, allocations: 1.125 kB / 0.9594 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.7296, allocations: 1.094 kB / 0.9594 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.7296, allocations: 0.9375 kB / 0.9594 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.554e-05/0.7297, allocations: 128 kB / 0.9596 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7297, allocations: 0 / 0.9596 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001836/0.7299, allocations: 6.938 kB / 0.9596 GB, free: 4.234 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 8.575e-05/0.73, allocations: 101.2 kB / 0.9597 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.599e-05/0.7301, allocations: 17.2 kB / 0.9597 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7301, allocations: 0.9062 kB / 0.9597 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.7301, allocations: 7.594 kB / 0.9597 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.7303, allocations: 11.59 kB / 0.9597 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.7305, allocations: 215.1 kB / 0.9599 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.7306, allocations: 0.691 MB / 0.9606 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.7307, allocations: 10.97 kB / 0.9606 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7307, allocations: 4 kB / 0.9606 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.001979/0.7327, allocations: 0.849 MB / 0.9614 GB, free: 2.758 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches