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.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.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.001158/0.001159, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001134/0.001135, allocations: 187 kB / 17.34 MB, free: 5.762 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 75.88 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7897/0.7911, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002186/0.7933, allocations: 0.8231 MB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.7935, allocations: 47.72 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.7936, allocations: 0 / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.199e-05/0.7937, allocations: 11.86 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.7938, allocations: 7.875 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.575e-05/0.7939, allocations: 19.98 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.794, allocations: 63.84 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.7942, allocations: 43.91 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.578e-05/0.7942, allocations: 23.92 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.7943, allocations: 35.72 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.7943, allocations: 12 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.7944, allocations: 4 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.7944, allocations: 15.94 kB / 1.21 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.7944, allocations: 35.8 kB / 1.21 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.7946, allocations: 67.7 kB / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7946, allocations: 0 / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7946, allocations: 0 / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.7946, allocations: 0 / 1.21 GB, free: 12.48 MB / 0.9356 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.0004872/0.7951, allocations: 388.8 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.7951, allocations: 12.03 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.7952, allocations: 8.844 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.7954, allocations: 196.1 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.7954, allocations: 4.375 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.7955, allocations: 8.375 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.7956, allocations: 91.88 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7957, allocations: 192 / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.7957, allocations: 11.94 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.7957, allocations: 7.938 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/0.7958, allocations: 35.98 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.7964, allocations: 436.5 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/0.7965, allocations: 41.16 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.7966, allocations: 21.84 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.7966, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.7966, allocations: 42.58 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.7966, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002552/0.7969, allocations: 53.48 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.7969, allocations: 81.36 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.7971, allocations: 164.5 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.7971, allocations: 25.7 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.7972, allocations: 104 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.974e-06/0.7972, allocations: 3.906 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.7972, allocations: 17.72 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7974, allocations: 322.8 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.7974, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.7974, allocations: 33.69 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.7975, allocations: 25.66 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7975, allocations: 0 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.666e-05/0.7976, allocations: 53.61 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7976, allocations: 8 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7976, allocations: 3.938 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.7976, allocations: 3.984 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.7977, allocations: 12 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.7977, allocations: 4 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.7978, allocations: 3.906 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.7978, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 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.206e-05/0.7979, allocations: 109.8 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.7979, allocations: 11.84 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.7979, allocations: 19.8 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7979, allocations: 0 / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.798, allocations: 4 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.798, allocations: 4 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.7984, allocations: 466.8 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7984, allocations: 4 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.7984, allocations: 4 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.7984, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.7984, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7984, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7984, allocations: 8 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.494e-05/0.7985, allocations: 85.77 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.7986, allocations: 88.95 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.7986, allocations: 7.984 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.7987, allocations: 0 / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.7987, allocations: 4 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.7987, allocations: 4.031 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.431e-05/0.7988, allocations: 121.3 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7988, allocations: 0 / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001962/0.799, allocations: 11.91 kB / 1.213 GB, free: 8.992 MB / 0.9356 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.0001236/0.7991, allocations: 95.25 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.387e-05/0.7992, allocations: 19.94 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7992, allocations: 0 / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.7992, allocations: 8.125 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.7994, allocations: 17.64 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.7998, allocations: 187.5 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.8001, allocations: 0.6924 MB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.8001, allocations: 11.44 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.8001, allocations: 128 / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of Templates: time 0.002492/0.8026, allocations: 0.8638 MB / 1.214 GB, free: 7.031 MB / 0.9356 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/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