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.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.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.001596/0.001596, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.001814/0.001814, allocations: 187.5 kB / 16.9 MB, free: 5.746 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.231/2.231, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 63.7 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3755, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.003219/0.3788, allocations: 0.8886 MB / 0.9506 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001795/0.379, allocations: 39.78 kB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.3791, allocations: 4 kB / 0.9507 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.371e-05/0.3792, allocations: 3.938 kB / 0.9507 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.3793, allocations: 7.984 kB / 0.9507 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.802e-05/0.3794, allocations: 8 kB / 0.9507 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.3795, allocations: 67.78 kB / 0.9508 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.3797, allocations: 47.95 kB / 0.9508 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.3798, allocations: 19.92 kB / 0.9508 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.3799, allocations: 31.8 kB / 0.9509 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3799, allocations: 4 kB / 0.9509 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.38, allocations: 8 kB / 0.9509 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.38, allocations: 15.92 kB / 0.9509 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.3801, allocations: 27.81 kB / 0.9509 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.3802, allocations: 56.17 kB / 0.951 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3802, allocations: 4 kB / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.981e-06/0.3803, allocations: 0 / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.3803, allocations: 3.938 kB / 0.951 GB, free: 7.988 MB / 0.7325 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.0005804/0.3809, allocations: 379.1 kB / 0.9513 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3809, allocations: 8.031 kB / 0.9513 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.381, allocations: 8.844 kB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.3813, allocations: 200.1 kB / 0.9515 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3813, allocations: 12.38 kB / 0.9516 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.3814, allocations: 4.375 kB / 0.9516 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.3816, allocations: 103.8 kB / 0.9517 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3817, allocations: 192 / 0.9517 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.3817, allocations: 11.94 kB / 0.9517 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3817, allocations: 0 / 0.9517 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.3819, allocations: 35.92 kB / 0.9517 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.3827, allocations: 436.6 kB / 0.9521 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.3828, allocations: 37.14 kB / 0.9522 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.3828, allocations: 25.88 kB / 0.9522 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.3829, allocations: 0 / 0.9522 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3829, allocations: 34.56 kB / 0.9522 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3829, allocations: 0 / 0.9522 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002134/0.3831, allocations: 53.48 kB / 0.9523 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3832, allocations: 85.09 kB / 0.9524 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3834, allocations: 164.4 kB / 0.9525 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3834, allocations: 25.7 kB / 0.9525 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.3835, allocations: 112.2 kB / 0.9526 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.3835, allocations: 7.906 kB / 0.9526 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.3836, allocations: 21.7 kB / 0.9527 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3837, allocations: 314.8 kB / 0.953 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.3837, allocations: 7.984 kB / 0.953 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.3838, allocations: 21.72 kB / 0.953 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.3838, allocations: 29.66 kB / 0.953 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3839, allocations: 0 / 0.953 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001138/0.384, allocations: 53.59 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.384, allocations: 8 kB / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.384, allocations: 3.938 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.384, allocations: 3.938 kB / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.3841, allocations: 8 kB / 0.9531 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3841, allocations: 4 kB / 0.9531 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.3842, allocations: 7.844 kB / 0.9531 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.3842, allocations: 4 kB / 0.9531 GB, free: 5.539 MB / 0.7325 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 9.687e-05/0.3843, allocations: 117.8 kB / 0.9532 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.3844, allocations: 7.906 kB / 0.9532 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.3844, allocations: 15.8 kB / 0.9532 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3844, allocations: 0 / 0.9532 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3845, allocations: 0 / 0.9532 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3845, allocations: 4 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.3851, allocations: 474.8 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3851, allocations: 0 / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.3852, allocations: 0 / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3852, allocations: 4 kB / 0.9537 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.3852, allocations: 0 / 0.9537 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3852, allocations: 3.984 kB / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3853, allocations: 0 / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.3854, allocations: 85.84 kB / 0.9538 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/0.3855, allocations: 89 kB / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3856, allocations: 7.938 kB / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.3856, allocations: 4.094 kB / 0.9539 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.3857, allocations: 3.984 kB / 0.9539 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3857, allocations: 0 / 0.9539 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001509/0.3858, allocations: 121.3 kB / 0.954 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3858, allocations: 0 / 0.954 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003449/0.3862, allocations: 12 kB / 0.954 GB, free: 4.496 MB / 0.7325 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.0001654/0.3864, allocations: 99.28 kB / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.3866, allocations: 23.92 kB / 0.9541 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3866, allocations: 0 / 0.9541 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.3866, allocations: 4 kB / 0.9541 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.3869, allocations: 11.94 kB / 0.9542 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.3874, allocations: 212.7 kB / 0.9544 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3878, allocations: 0.7 MB / 0.955 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.3879, allocations: 11.44 kB / 0.9551 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.3879, allocations: 4 kB / 0.9551 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of Templates: time 0.003948/0.3918, allocations: 0.8482 MB / 0.9559 GB, free: 2.512 MB / 0.7325 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