Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001575/0.001575, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001613/0.001614, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.527/1.527, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.879/2.879, allocations: 469.8 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 76.19 kB / 0.908 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 159.2 MB / 1.063 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002124/0.3146, allocations: 0.8744 MB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001121/0.3147, allocations: 39.78 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/0.3148, allocations: 4 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.3149, allocations: 3.938 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/0.3149, allocations: 3.938 kB / 1.064 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.237e-05/0.315, allocations: 19.98 kB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.3151, allocations: 59.84 kB / 1.064 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3153, allocations: 43.97 kB / 1.064 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.3153, allocations: 31.84 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.3154, allocations: 27.8 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3154, allocations: 8 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-06/0.3154, allocations: 4 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.3155, allocations: 19.92 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.3155, allocations: 35.75 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.3156, allocations: 72.03 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3156, allocations: 0 / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3157, allocations: 0 / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3157, allocations: 0 / 1.065 GB, free: 13.41 MB / 0.8262 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.0004569/0.3161, allocations: 379.2 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3162, allocations: 11.97 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.3162, allocations: 16.75 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3164, allocations: 200.1 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3165, allocations: 8.375 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3165, allocations: 8.375 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3167, allocations: 83.95 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3167, allocations: 192 / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3167, allocations: 15.88 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3167, allocations: 0 / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.839e-05/0.3168, allocations: 39.92 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.3173, allocations: 436.5 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.944e-05/0.3174, allocations: 45.28 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.3174, allocations: 17.84 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.3175, allocations: 4 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.3175, allocations: 34.56 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3175, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001597/0.3177, allocations: 57.47 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.3177, allocations: 81.11 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3179, allocations: 158.5 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.3179, allocations: 29.7 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.318, allocations: 108 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.318, allocations: 3.906 kB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.3181, allocations: 17.72 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3182, allocations: 326.8 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.3182, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.3183, allocations: 21.72 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.3183, allocations: 25.72 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3183, allocations: 0 / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.032e-05/0.3184, allocations: 61.53 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3184, allocations: 8 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3184, allocations: 3.938 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3185, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.3185, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.3185, allocations: 8.047 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.3186, allocations: 11.84 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3186, allocations: 4 kB / 1.067 GB, free: 10.96 MB / 0.8262 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.016e-05/0.3187, allocations: 113.8 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.3187, allocations: 7.906 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.3187, allocations: 15.81 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3187, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3188, allocations: 11.88 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3188, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.3192, allocations: 470.8 kB / 1.067 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3192, allocations: 0 / 1.067 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.3192, allocations: 11.92 kB / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3192, allocations: 0 / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.3192, allocations: 0 / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3192, allocations: 0 / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3192, allocations: 4 kB / 1.067 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.511e-05/0.3193, allocations: 81.91 kB / 1.067 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.3194, allocations: 89 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.3194, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.3195, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-06/0.3195, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3195, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.449e-05/0.3196, allocations: 134.1 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3196, allocations: 0 / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001815/0.3198, allocations: 8 kB / 1.068 GB, free: 9.914 MB / 0.8262 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.0001292/0.3199, allocations: 99.23 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.565e-05/0.32, allocations: 16 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.32, allocations: 0 / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/0.32, allocations: 7.938 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.3202, allocations: 14.16 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.3205, allocations: 186.8 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3208, allocations: 0.6963 MB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.702e-05/0.3209, allocations: 12.5 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.3209, allocations: 11.44 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3209, allocations: 0 / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of Templates: time 0.002996/0.3239, allocations: 444.5 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches