Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 112.3 kB / 15.99 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.001273/0.001273, allocations: 194.2 kB / 16.91 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.443/1.443, allocations: 222.9 MB / 240.6 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 437.1 MB / 0.7107 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 59.91 kB / 0.8694 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6907/0.6927, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002528/0.6952, allocations: 0.8938 MB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000106/0.6954, allocations: 35.8 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.6954, allocations: 4 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.82e-05/0.6955, allocations: 3.938 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.6956, allocations: 3.938 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.238e-05/0.6956, allocations: 19.98 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.6958, allocations: 59.84 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.696, allocations: 47.95 kB / 1.019 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.696, allocations: 19.88 kB / 1.019 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.6961, allocations: 31.84 kB / 1.019 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.6961, allocations: 7.938 kB / 1.019 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.6961, allocations: 8 kB / 1.019 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.6962, allocations: 15.88 kB / 1.019 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.6962, allocations: 35.8 kB / 1.019 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.6964, allocations: 57.8 kB / 1.019 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.6964, allocations: 4 kB / 1.019 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6964, allocations: 4 kB / 1.019 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.6964, allocations: 0 / 1.019 GB, free: 1.484 MB / 0.7637 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.0005194/0.6969, allocations: 383.1 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.697, allocations: 8.031 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.697, allocations: 8.844 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.6972, allocations: 192.2 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.6973, allocations: 4.375 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.6973, allocations: 8.375 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.6975, allocations: 98.2 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.6976, allocations: 192 / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.6976, allocations: 11.92 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.6976, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.494e-05/0.6977, allocations: 39.92 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.6983, allocations: 432.7 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.249e-05/0.6984, allocations: 41.19 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.6984, allocations: 17.84 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.6984, allocations: 0 / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.6985, allocations: 42.55 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.6985, allocations: 0 / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002039/0.6987, allocations: 53.48 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.6988, allocations: 81.11 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.6989, allocations: 164.1 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.699, allocations: 25.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.6991, allocations: 107.9 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.6991, allocations: 8.156 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.6991, allocations: 17.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6993, allocations: 318.8 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.6993, allocations: 4 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.6994, allocations: 29.64 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.359e-05/0.6994, allocations: 21.72 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6994, allocations: 7.938 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.709e-05/0.6995, allocations: 57.55 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6996, allocations: 8 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6996, allocations: 3.938 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6996, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.6997, allocations: 7.984 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6997, allocations: 3.938 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.6997, allocations: 4 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.6997, allocations: 0 / 1.021 GB, free: 15.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.922e-05/0.6998, allocations: 118.4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.6999, allocations: 11.81 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.6999, allocations: 19.89 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6999, allocations: 3.984 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6999, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.6999, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.7004, allocations: 466.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7004, allocations: 8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.7004, allocations: 3.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7004, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.7004, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7004, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7004, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.905e-05/0.7005, allocations: 85.89 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.7006, allocations: 88.95 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.7006, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.54e-05/0.7007, allocations: 7.984 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.7007, allocations: 4 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.7007, allocations: 0 / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.958e-05/0.7008, allocations: 119.9 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7008, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001915/0.701, allocations: 8 kB / 1.022 GB, free: 14.01 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 (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.0001305/0.7011, allocations: 103.2 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.732e-05/0.7012, allocations: 16 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7013, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-05/0.7013, allocations: 7.938 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.7014, allocations: 15.92 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.7018, allocations: 211.4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.7022, allocations: 0.6924 MB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.7022, allocations: 11.44 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.7023, allocations: 4 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.002623/0.7049, allocations: 0.852 MB / 1.024 GB, free: 12.03 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches