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.001025/0.001025, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001424/0.001424, allocations: 168.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.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.928/2.928, allocations: 462.6 MB / 0.736 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005038, allocations: 11.47 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4285, allocations: 159.6 MB / 1.058 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001157/0.4298, allocations: 0.5106 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001157/0.4299, allocations: 47.78 kB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.4299, allocations: 0 / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.43, allocations: 7.875 kB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.4301, allocations: 7.938 kB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.634e-05/0.4301, allocations: 11.98 kB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.4302, allocations: 63.75 kB / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.4304, allocations: 28.17 kB / 1.059 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.635e-05/0.4304, allocations: 15.86 kB / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.4305, allocations: 15.88 kB / 1.059 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.4305, allocations: 4 kB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.4305, allocations: 0 / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.4305, allocations: 19.91 kB / 1.059 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.4306, allocations: 37.64 kB / 1.059 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.701e-05/0.4307, allocations: 43.89 kB / 1.059 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4307, allocations: 0 / 1.059 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.906e-06/0.4307, allocations: 0 / 1.059 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.4307, allocations: 4 kB / 1.059 GB, free: 4.582 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.0004463/0.4312, allocations: 363.4 kB / 1.059 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4312, allocations: 12.03 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.4312, allocations: 11.84 kB / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.4315, allocations: 187 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4315, allocations: 4 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.4315, allocations: 15.89 kB / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.4317, allocations: 95.3 kB / 1.059 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4317, allocations: 0 / 1.059 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4317, allocations: 4 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.4317, allocations: 0 / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.363e-05/0.4318, allocations: 43.91 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.4323, allocations: 444.6 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.803e-05/0.4324, allocations: 41.31 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.4324, allocations: 17.72 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.4325, allocations: 0 / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.4325, allocations: 34.52 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.4325, allocations: 7.938 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001747/0.4327, allocations: 57.53 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.4327, allocations: 81.11 kB / 1.06 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.4329, allocations: 159.9 kB / 1.06 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.4329, allocations: 25.7 kB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.433, allocations: 108 kB / 1.06 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/0.433, allocations: 3.906 kB / 1.06 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/0.433, allocations: 256 / 1.06 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4331, allocations: 326.8 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.4331, allocations: 8 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.4332, allocations: 17.66 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.471e-05/0.4332, allocations: 8 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4332, allocations: 0 / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.37e-05/0.4333, allocations: 53.59 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4333, allocations: 12.06 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4333, allocations: 3.953 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.4333, allocations: 0 / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.4334, allocations: 15.94 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4334, allocations: 0 / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.4334, allocations: 7.844 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.4334, allocations: 4 kB / 1.061 GB, free: 2.203 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.039e-05/0.4335, allocations: 113.8 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.4336, allocations: 11.89 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.4336, allocations: 7.875 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4336, allocations: 3.953 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4336, allocations: 4 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.4336, allocations: 3.938 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.434, allocations: 466.8 kB / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.434, allocations: 0 / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.434, allocations: 7.953 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.434, allocations: 4.062 kB / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.434, allocations: 3.984 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.434, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.434, allocations: 4 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.545e-05/0.4341, allocations: 81.84 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.4342, allocations: 88.94 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.4342, allocations: 7.953 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.808e-05/0.4342, allocations: 4.031 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.4343, allocations: 0 / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.4343, allocations: 0 / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.646e-05/0.4344, allocations: 122.9 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4344, allocations: 0 / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001838/0.4345, allocations: 12 kB / 1.062 GB, free: 1.164 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 (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.000108/0.4347, allocations: 95.25 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.372e-05/0.4347, allocations: 27.92 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4348, allocations: 0 / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-06/0.4348, allocations: 4 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.4349, allocations: 11.23 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.4353, allocations: 174.7 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.4355, allocations: 0.7004 MB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.4356, allocations: 8.422 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.4356, allocations: 11.44 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.4356, allocations: 4 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of Templates: time 0.002369/0.438, allocations: 424 kB / 1.063 GB, free: 15.65 MB / 0.8262 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 -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/jenkins/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