Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 122.1 kB / 16.82 MB, free: 5.754 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.001936/0.001936, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.575/1.575, allocations: 225.6 MB / 244.2 MB, free: 13.9 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.881/2.881, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 68.52 kB / 1.097 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4111, allocations: 168.7 MB / 1.262 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002268/0.4134, allocations: 0.8292 MB / 1.263 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001171/0.4135, allocations: 40.14 kB / 1.263 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.4136, allocations: 3.938 kB / 1.263 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.4136, allocations: 7.875 kB / 1.263 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/0.4137, allocations: 3.938 kB / 1.263 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.694e-05/0.4137, allocations: 23.97 kB / 1.263 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.4139, allocations: 63.83 kB / 1.263 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.414, allocations: 39.88 kB / 1.263 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.922e-05/0.4141, allocations: 31.86 kB / 1.263 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.327e-05/0.4141, allocations: 27.8 kB / 1.263 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.4141, allocations: 4 kB / 1.263 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.4142, allocations: 8 kB / 1.263 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.4142, allocations: 15.92 kB / 1.263 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.4142, allocations: 31.75 kB / 1.263 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.4144, allocations: 83.56 kB / 1.263 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4144, allocations: 0 / 1.263 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4144, allocations: 0 / 1.263 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.4144, allocations: 0 / 1.263 GB, free: 11.86 MB / 0.9825 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.000554/0.4149, allocations: 379.2 kB / 1.264 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.415, allocations: 11.97 kB / 1.264 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.415, allocations: 12.84 kB / 1.264 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.4154, allocations: 200.1 kB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4154, allocations: 4.375 kB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.4155, allocations: 8.375 kB / 1.264 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.4157, allocations: 91.95 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4157, allocations: 4.188 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.4157, allocations: 7.922 kB / 1.264 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4157, allocations: 4 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.4159, allocations: 39.92 kB / 1.264 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008094/0.4167, allocations: 436.6 kB / 1.264 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.622e-05/0.4167, allocations: 45.34 kB / 1.264 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.4168, allocations: 17.78 kB / 1.264 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.4168, allocations: 0 / 1.264 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.4169, allocations: 34.56 kB / 1.264 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4169, allocations: 0 / 1.264 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.00021/0.4171, allocations: 61.52 kB / 1.265 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.4172, allocations: 77.11 kB / 1.265 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.4173, allocations: 161.1 kB / 1.265 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.4174, allocations: 25.7 kB / 1.265 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4175, allocations: 100.1 kB / 1.265 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.4175, allocations: 15.83 kB / 1.265 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.4175, allocations: 21.67 kB / 1.265 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4177, allocations: 319.1 kB / 1.265 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.4177, allocations: 12 kB / 1.265 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.4177, allocations: 13.72 kB / 1.265 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.502e-05/0.4178, allocations: 25.72 kB / 1.265 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4178, allocations: 0 / 1.265 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001076/0.4179, allocations: 61.58 kB / 1.265 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4179, allocations: 8.062 kB / 1.265 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.4179, allocations: 0 / 1.265 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.4179, allocations: 7.938 kB / 1.265 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.418, allocations: 4 kB / 1.265 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.418, allocations: 3.984 kB / 1.265 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.418, allocations: 4 kB / 1.265 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.418, allocations: 0 / 1.265 GB, free: 9.426 MB / 0.9825 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.797e-05/0.4181, allocations: 114.6 kB / 1.265 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.4182, allocations: 11.89 kB / 1.265 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.4182, allocations: 23.75 kB / 1.266 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4182, allocations: 0 / 1.266 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4182, allocations: 3.938 kB / 1.266 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.4183, allocations: 93 kB / 1.266 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.4183, allocations: 0 / 1.266 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.4184, allocations: 8 kB / 1.266 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.4184, allocations: 4 kB / 1.266 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001495/0.4185, allocations: 196.2 kB / 1.266 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001952/0.4187, allocations: 298.1 kB / 1.266 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.118e-05/0.4187, allocations: 8 kB / 1.266 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001282/0.4189, allocations: 117.1 kB / 1.266 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of Backend: time 3.9e-07/0.4189, allocations: 0 / 1.266 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.4193, allocations: 94.38 kB / 1.266 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0007781/0.4201, allocations: 0.6197 MB / 1.267 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of Templates: time 0.003287/0.4234, allocations: 0.5233 MB / 1.267 GB, free: 7.219 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches