Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.0008839/0.0008839, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006474/0.006474, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.507/1.507, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.919/2.919, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004645, allocations: 20.56 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4395, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00119/0.4408, allocations: 0.5453 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001382/0.4409, allocations: 43.78 kB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.441, allocations: 4 kB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.441, allocations: 3.938 kB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.4411, allocations: 0 / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.955e-05/0.4412, allocations: 15.98 kB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.748e-05/0.4413, allocations: 63.69 kB / 1.059 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.4415, allocations: 47.95 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.4415, allocations: 15.88 kB / 1.059 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.4416, allocations: 19.86 kB / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.4416, allocations: 0 / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-06/0.4416, allocations: 0 / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.4417, allocations: 15.92 kB / 1.059 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.4417, allocations: 53.39 kB / 1.059 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.4418, allocations: 72.03 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4418, allocations: 0 / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4418, allocations: 3.938 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.4418, allocations: 0 / 1.06 GB, free: 4.562 MB / 0.8106 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.0004444/0.4423, allocations: 363.3 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4423, allocations: 12.03 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.4424, allocations: 12.84 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.4426, allocations: 184.2 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4427, allocations: 12.38 kB / 1.06 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.4427, allocations: 12.31 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4429, allocations: 95.88 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4429, allocations: 192 / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4429, allocations: 7.938 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.4429, allocations: 4 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.443, allocations: 39.92 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.4436, allocations: 436.6 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.296e-05/0.4436, allocations: 41.25 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.4437, allocations: 21.77 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.4437, allocations: 7.984 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4437, allocations: 34.56 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4437, allocations: 0 / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001746/0.4439, allocations: 53.48 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.444, allocations: 81.11 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.4441, allocations: 157.3 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.4441, allocations: 29.7 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.4442, allocations: 115.9 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.4442, allocations: 0 / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.4443, allocations: 9.719 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4444, allocations: 322.8 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.4444, allocations: 8 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.4444, allocations: 17.7 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.4445, allocations: 33.66 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4445, allocations: 0 / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.103e-05/0.4446, allocations: 53.55 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.4446, allocations: 8 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4446, allocations: 3.938 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4446, allocations: 3.984 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.4447, allocations: 4 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4447, allocations: 4 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.4448, allocations: 11.91 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.4448, allocations: 4 kB / 1.062 GB, free: 2.141 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 7.712e-05/0.4449, allocations: 109.8 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.4449, allocations: 11.84 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.4449, allocations: 19.8 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.445, allocations: 3.938 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.445, allocations: 4 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.445, allocations: 0 / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.4454, allocations: 474.8 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4454, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.4454, allocations: 4 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.4454, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.4454, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4454, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4455, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.314e-05/0.4455, allocations: 89.83 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.4456, allocations: 85.02 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.4456, allocations: 7.984 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.4456, allocations: 4 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.4457, allocations: 0 / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.4457, allocations: 0 / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.904e-05/0.4458, allocations: 121.9 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4458, allocations: 4.031 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001866/0.446, allocations: 11.91 kB / 1.063 GB, free: 1.098 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.0001155/0.4461, allocations: 95.25 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.854e-05/0.4462, allocations: 19.94 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4462, allocations: 0 / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.228e-05/0.4462, allocations: 8 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.4464, allocations: 16.34 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.4467, allocations: 180.8 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4471, allocations: 0.6926 MB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.4471, allocations: 12.36 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.4471, allocations: 11.44 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.4471, allocations: 0 / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of Templates: time 0.002761/0.4499, allocations: 432.6 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches