Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001442/0.001442, allocations: 102.8 kB / 16.41 MB, free: 6.465 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.001416/0.001417, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.59/2.59, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 71.88 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8908, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002253/0.8931, allocations: 0.8275 MB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001465/0.8932, allocations: 35.86 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.8933, allocations: 3.938 kB / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.421e-05/0.8934, allocations: 7.922 kB / 1.168 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.964e-05/0.8935, allocations: 11.86 kB / 1.168 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.348e-05/0.8936, allocations: 19.98 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.8937, allocations: 63.84 kB / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.8939, allocations: 39.92 kB / 1.168 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.715e-05/0.8939, allocations: 23.92 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.894, allocations: 31.78 kB / 1.168 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.894, allocations: 8 kB / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.8941, allocations: 8 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.8941, allocations: 19.88 kB / 1.168 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.8941, allocations: 31.8 kB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.8943, allocations: 75.64 kB / 1.168 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.495e-06/0.8943, allocations: 4 kB / 1.168 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8943, allocations: 0 / 1.168 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.8943, allocations: 0 / 1.168 GB, free: 2.57 MB / 0.8887 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.0004979/0.8948, allocations: 384.8 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.8949, allocations: 12.62 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.8949, allocations: 12.84 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.8952, allocations: 196.1 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.8952, allocations: 4.375 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.8952, allocations: 8.375 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.8954, allocations: 100.8 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8954, allocations: 192 / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.8954, allocations: 7.938 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.8955, allocations: 4 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.8955, allocations: 39.92 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.8961, allocations: 432.6 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.55e-05/0.8962, allocations: 45.19 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.8963, allocations: 17.84 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.8963, allocations: 4 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.8963, allocations: 38.55 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.8963, allocations: 0 / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001877/0.8965, allocations: 53.48 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.8966, allocations: 85.36 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.8967, allocations: 156.5 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.8967, allocations: 29.7 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.8968, allocations: 104 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.344e-06/0.8968, allocations: 3.906 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.8969, allocations: 17.72 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.897, allocations: 318.8 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.897, allocations: 4 kB / 1.17 GB, free: 308 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.49e-05/0.897, allocations: 29.7 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.834e-05/0.8971, allocations: 25.66 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8971, allocations: 0 / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.539e-05/0.8972, allocations: 57.55 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.8972, allocations: 4 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8972, allocations: 7.938 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.8972, allocations: 4.047 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.8973, allocations: 8 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.8973, allocations: 3.938 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.8973, allocations: 7.906 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.8973, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 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.9e-05/0.8974, allocations: 117.8 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.8975, allocations: 7.906 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.8975, allocations: 19.8 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8975, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8975, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8976, allocations: 8 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.8979, allocations: 462.8 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.898, allocations: 4 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.898, allocations: 4 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.898, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.898, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.898, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.898, allocations: 12 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.364e-05/0.8981, allocations: 77.83 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.8982, allocations: 88.95 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.8982, allocations: 3.984 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.507e-05/0.8982, allocations: 8 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.8982, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.8982, allocations: 4.031 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.633e-05/0.8983, allocations: 121.9 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8983, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001927/0.8985, allocations: 11.91 kB / 1.172 GB, free: 15.08 MB / 0.9044 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.0001199/0.8987, allocations: 95.25 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.715e-05/0.8988, allocations: 19.94 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8988, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.8988, allocations: 12.12 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.899, allocations: 11.92 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.8994, allocations: 188.4 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.8996, allocations: 0.6885 MB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.8996, allocations: 11.44 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8996, allocations: 4.125 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of Templates: time 0.002347/0.902, allocations: 0.8716 MB / 1.173 GB, free: 13.11 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches