Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001411/0.001411, allocations: 103.3 kB / 16.35 MB, free: 5.824 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.001677/0.001677, allocations: 190.2 kB / 17.29 MB, free: 5.48 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.47/1.47, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002609/0.002609, allocations: 71.95 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3237, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002845/0.3266, allocations: 0.8448 MB / 1.028 GB, free: 1.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001375/0.3267, allocations: 31.81 kB / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.3268, allocations: 0 / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.082e-05/0.3269, allocations: 15.86 kB / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.431e-05/0.327, allocations: 19.86 kB / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.754e-05/0.3271, allocations: 15.98 kB / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3272, allocations: 59.78 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.3274, allocations: 47.95 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.3275, allocations: 23.88 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.3276, allocations: 27.84 kB / 1.028 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3276, allocations: 8 kB / 1.028 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.764e-05/0.3276, allocations: 4 kB / 1.028 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.3276, allocations: 11.94 kB / 1.028 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.3277, allocations: 39.73 kB / 1.028 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.3279, allocations: 75.64 kB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3279, allocations: 0 / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3279, allocations: 0 / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3279, allocations: 0 / 1.028 GB, free: 0.8242 MB / 0.795 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.000518/0.3284, allocations: 379.2 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3285, allocations: 8.031 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3285, allocations: 12.84 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.3288, allocations: 192.1 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.3289, allocations: 12.28 kB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.3289, allocations: 4.375 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.3292, allocations: 94.61 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3292, allocations: 4.188 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.3292, allocations: 7.938 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.3292, allocations: 0 / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.3294, allocations: 39.95 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008319/0.3302, allocations: 432.5 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.3304, allocations: 49.27 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.3305, allocations: 21.84 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.3305, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3305, allocations: 34.56 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3305, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003085/0.3308, allocations: 61.48 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.3309, allocations: 81.09 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.3312, allocations: 160.3 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3312, allocations: 25.7 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.3313, allocations: 104 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.3314, allocations: 7.906 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.3314, allocations: 17.7 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3316, allocations: 327 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.3317, allocations: 19.92 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.3317, allocations: 13.72 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.3318, allocations: 25.72 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.3318, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001189/0.3319, allocations: 61.53 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3319, allocations: 8.062 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3319, allocations: 3.938 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.332, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.3321, allocations: 8 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.3321, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.3321, allocations: 11.84 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3322, allocations: 4 kB / 1.03 GB, free: 14.38 MB / 0.8106 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 0.000123/0.3323, allocations: 113.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.3324, allocations: 15.89 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.3324, allocations: 11.81 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3324, allocations: 4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3325, allocations: 3.938 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3325, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.333, allocations: 466.8 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.333, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.3331, allocations: 7.938 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3331, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3331, allocations: 4.062 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3331, allocations: 3.984 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3331, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.3333, allocations: 73.84 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.3333, allocations: 89 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.3334, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.759e-05/0.3334, allocations: 4.031 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.3334, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3335, allocations: 4 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001232/0.3336, allocations: 121.8 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7.11e-07/0.3336, allocations: 4 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002977/0.3339, allocations: 4 kB / 1.031 GB, free: 13.35 MB / 0.8106 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.0001895/0.3341, allocations: 103.2 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.3343, allocations: 23.92 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3343, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.3343, allocations: 7.938 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.3346, allocations: 11.94 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.3351, allocations: 158.8 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.3357, allocations: 0.6965 MB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.368e-05/0.3358, allocations: 12.38 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.3358, allocations: 7.438 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.3358, allocations: 4 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.00464/0.3405, allocations: 456.6 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches