Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001098/0.001098, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001147/0.001147, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.8/2.8, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004165, allocations: 12 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7789, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001439/0.7804, allocations: 0.5238 MB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001521/0.7806, allocations: 39.84 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.7807, allocations: 3.938 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.7807, allocations: 3.984 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.146e-05/0.7808, allocations: 7.938 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.387e-05/0.7809, allocations: 8 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.781, allocations: 59.84 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.7812, allocations: 36.12 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.7813, allocations: 19.88 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.7814, allocations: 19.86 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.7814, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.7814, allocations: 7.938 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.7814, allocations: 3.984 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.7815, allocations: 37.64 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.7816, allocations: 47.89 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.7816, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.997e-06/0.7816, allocations: 4 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.7817, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.7794 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.000788/0.7825, allocations: 377 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.7825, allocations: 11.97 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/0.7826, allocations: 7.906 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.783, allocations: 186.9 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.783, allocations: 4 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.783, allocations: 8 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.7833, allocations: 104.5 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7833, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.7833, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.7833, allocations: 7.938 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.7834, allocations: 39.92 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007719/0.7842, allocations: 432.6 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.933e-05/0.7843, allocations: 41.34 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.7844, allocations: 21.77 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.7844, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.7844, allocations: 38.56 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7844, allocations: 3.938 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002394/0.7847, allocations: 49.56 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.7847, allocations: 81.05 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.7849, allocations: 170.2 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.785, allocations: 25.7 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.7851, allocations: 100.3 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.7851, allocations: 19.84 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.7851, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.7853, allocations: 318.8 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.7853, allocations: 4 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-05/0.7853, allocations: 21.7 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.7854, allocations: 8 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7854, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001036/0.7855, allocations: 61.55 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.7855, allocations: 4 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7855, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.7856, allocations: 7.953 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.7856, allocations: 11.92 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.7857, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.7857, allocations: 4 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.7857, allocations: 4 kB / 1.025 GB, free: 12.83 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.323e-05/0.7858, allocations: 121.9 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.7858, allocations: 7.906 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.7859, allocations: 15.86 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7859, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.7859, allocations: 3.953 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7859, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005831/0.7865, allocations: 470.7 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7865, allocations: 64 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.7865, allocations: 8 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.7866, allocations: 7.891 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.7866, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.7866, allocations: 4 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7866, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.7867, allocations: 73.89 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.7868, allocations: 93.05 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.7868, allocations: 7.891 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.352e-05/0.7869, allocations: 3.984 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.7869, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.7869, allocations: 4.094 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001084/0.787, allocations: 115.2 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.787, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000219/0.7872, allocations: 7.938 kB / 1.026 GB, free: 11.79 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001771/0.7874, allocations: 107.2 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.7875, allocations: 12 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.7876, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.767e-05/0.7876, allocations: 11.94 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.7878, allocations: 4 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.7883, allocations: 186.7 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.7888, allocations: 0.6926 MB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.7888, allocations: 12.42 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.7889, allocations: 11.44 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.7889, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.002956/0.7918, allocations: 410 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches