Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 115.2 kB / 16.37 MB, free: 5.984 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.001917/0.001917, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.328/2.328, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 61.88 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3247, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002218/0.3269, allocations: 0.8308 MB / 0.9519 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001162/0.3271, allocations: 43.78 kB / 0.952 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.3271, allocations: 0 / 0.952 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.3272, allocations: 7.875 kB / 0.952 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.3273, allocations: 7.938 kB / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.703e-05/0.3273, allocations: 15.98 kB / 0.952 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.3274, allocations: 71.77 kB / 0.9521 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3276, allocations: 35.98 kB / 0.9521 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.223e-05/0.3277, allocations: 23.88 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.3277, allocations: 27.84 kB / 0.9522 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3277, allocations: 8 kB / 0.9522 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.3278, allocations: 8 kB / 0.9522 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.3278, allocations: 15.92 kB / 0.9522 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.3278, allocations: 35.73 kB / 0.9522 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.328, allocations: 75.66 kB / 0.9523 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.328, allocations: 0 / 0.9523 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.893e-06/0.328, allocations: 0 / 0.9523 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.328, allocations: 0 / 0.9523 GB, free: 6.895 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.0004764/0.3285, allocations: 383.1 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3285, allocations: 12.03 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.3286, allocations: 12.83 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.3288, allocations: 200.1 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3288, allocations: 12.31 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3288, allocations: 4.375 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.329, allocations: 91.86 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.329, allocations: 192 / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.329, allocations: 11.94 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.329, allocations: 0 / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.354e-05/0.3291, allocations: 39.92 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.3297, allocations: 424.6 kB / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.3297, allocations: 45.27 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.3298, allocations: 21.84 kB / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.3298, allocations: 4 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3298, allocations: 30.56 kB / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.3298, allocations: 0 / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001804/0.33, allocations: 53.48 kB / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.3301, allocations: 85.34 kB / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.3303, allocations: 165.2 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.3303, allocations: 29.7 kB / 0.9539 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.3304, allocations: 104 kB / 0.954 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.3304, allocations: 7.906 kB / 0.954 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.3304, allocations: 17.7 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3305, allocations: 314.8 kB / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.3306, allocations: 19.86 kB / 0.9543 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.459e-05/0.3306, allocations: 21.72 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.02e-05/0.3306, allocations: 25.72 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3306, allocations: 0 / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.75e-05/0.3307, allocations: 57.53 kB / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3308, allocations: 4 kB / 0.9544 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3308, allocations: 7.938 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3308, allocations: 0 / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.3309, allocations: 8.062 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3309, allocations: 0 / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.3309, allocations: 15.84 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3309, allocations: 0 / 0.9544 GB, free: 4.449 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 8.024e-05/0.331, allocations: 113.8 kB / 0.9545 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.331, allocations: 11.89 kB / 0.9546 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.3311, allocations: 11.81 kB / 0.9546 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3311, allocations: 0 / 0.9546 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3311, allocations: 0 / 0.9546 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3311, allocations: 11.94 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.3315, allocations: 462.8 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3316, allocations: 7.938 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.3316, allocations: 7.938 kB / 0.955 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3316, allocations: 4 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.3316, allocations: 0 / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.3316, allocations: 3.984 kB / 0.955 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3316, allocations: 0 / 0.955 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.247e-05/0.3317, allocations: 77.91 kB / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.3318, allocations: 93 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3318, allocations: 0 / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.3318, allocations: 4 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.3318, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.3318, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.459e-05/0.3319, allocations: 128.6 kB / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3319, allocations: 0 / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001802/0.3321, allocations: 8 kB / 0.9553 GB, free: 3.41 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.0001242/0.3322, allocations: 99.88 kB / 0.9554 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.136e-05/0.3323, allocations: 19.98 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3323, allocations: 3.938 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.436e-05/0.3324, allocations: 12.12 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.3325, allocations: 13.97 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.3328, allocations: 162.8 kB / 0.9556 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3331, allocations: 0.7 MB / 0.9563 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.056e-05/0.3331, allocations: 8.5 kB / 0.9563 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.3332, allocations: 11.44 kB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3332, allocations: 0 / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of Templates: time 0.002548/0.3357, allocations: 452.5 kB / 0.9568 GB, free: 1.875 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches