Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006549/0.006549, allocations: 97.55 kB / 15.73 MB, free: 5.988 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.001474/0.001474, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.593/2.593, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 75.89 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9903/0.9918, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00198/0.9938, allocations: 0.8271 MB / 1.221 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001198/0.9939, allocations: 43.78 kB / 1.221 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.9939, allocations: 8 kB / 1.221 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.994, allocations: 7.875 kB / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.26e-05/0.9941, allocations: 11.86 kB / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.548e-05/0.9941, allocations: 19.98 kB / 1.222 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.9943, allocations: 59.84 kB / 1.222 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.9944, allocations: 43.84 kB / 1.222 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.191e-05/0.9945, allocations: 27.86 kB / 1.222 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.9946, allocations: 27.8 kB / 1.222 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.9946, allocations: 8 kB / 1.222 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.9946, allocations: 4 kB / 1.222 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.9946, allocations: 19.92 kB / 1.222 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.9947, allocations: 31.81 kB / 1.222 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.9948, allocations: 75.2 kB / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9948, allocations: 0 / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9948, allocations: 0 / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.9948, allocations: 0 / 1.222 GB, free: 0.9102 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.000545/0.9954, allocations: 380.1 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.9954, allocations: 8.031 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.9955, allocations: 12.84 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.9957, allocations: 200.2 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.9957, allocations: 8.375 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.9957, allocations: 8.375 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.9959, allocations: 89.45 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9959, allocations: 4.188 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.9959, allocations: 11.88 kB / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.9959, allocations: 0 / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.996, allocations: 35.98 kB / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.9966, allocations: 444.7 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.44e-05/0.9966, allocations: 41.16 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.9967, allocations: 17.84 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.9967, allocations: 4 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.9967, allocations: 34.59 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.9967, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001731/0.9969, allocations: 61.52 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.9969, allocations: 81.11 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.9971, allocations: 157.1 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.9971, allocations: 29.7 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.9972, allocations: 108.3 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.255e-06/0.9972, allocations: 3.953 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.9972, allocations: 21.67 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9973, allocations: 318.8 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.9973, allocations: 4 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.9974, allocations: 21.72 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.245e-05/0.9974, allocations: 33.64 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9974, allocations: 0 / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.242e-05/0.9975, allocations: 57.66 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.9975, allocations: 8 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.9975, allocations: 3.938 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.9975, allocations: 3.938 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.964e-05/0.9976, allocations: 11.92 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.9976, allocations: 4 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.9976, allocations: 4 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.9976, allocations: 4 kB / 1.224 GB, free: 14.46 MB / 0.9512 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.28e-05/0.9977, allocations: 113.8 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.9978, allocations: 7.953 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.9978, allocations: 15.81 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.9978, allocations: 96 / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.9978, allocations: 0 / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.9978, allocations: 11.97 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.9982, allocations: 474.7 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9982, allocations: 0 / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.9982, allocations: 0 / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.9982, allocations: 4 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.9982, allocations: 0 / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9982, allocations: 3.938 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.9982, allocations: 0 / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.415e-05/0.9983, allocations: 89.88 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.9983, allocations: 85.06 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.9984, allocations: 0 / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.9984, allocations: 4 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.9984, allocations: 3.984 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.9984, allocations: 0 / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.095e-05/0.9985, allocations: 119.3 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9985, allocations: 0 / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001911/0.9987, allocations: 12.03 kB / 1.225 GB, free: 13.41 MB / 0.9512 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.0001083/0.9988, allocations: 99.23 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.02e-05/0.9989, allocations: 19.94 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9989, allocations: 0 / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-06/0.9989, allocations: 4 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.999, allocations: 15.84 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.9994, allocations: 162.9 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.9996, allocations: 0.6929 MB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.9997, allocations: 8.422 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.9997, allocations: 15.38 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/0.9997, allocations: 3.938 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of Templates: time 0.002465/1.002, allocations: 470.3 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches