Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0007989/0.0007988, allocations: 91.84 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009459/0.0009463, allocations: 181.7 kB / 16.92 MB, free: 6.652 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 15.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7882/0.7886, allocations: 142.4 MB / 0.9557 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001366/0.79, allocations: 0.5375 MB / 0.9562 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001506/0.7902, allocations: 41.3 kB / 0.9563 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.7903, allocations: 0.9688 kB / 0.9563 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.7903, allocations: 3.938 kB / 0.9563 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.7904, allocations: 9.016 kB / 0.9563 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.528e-05/0.7905, allocations: 15.97 kB / 0.9563 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.7907, allocations: 58.05 kB / 0.9564 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.7909, allocations: 42.88 kB / 0.9564 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.041e-05/0.791, allocations: 21.92 kB / 0.9564 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.791, allocations: 16.78 kB / 0.9564 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.7911, allocations: 1.406 kB / 0.9564 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.7911, allocations: 1.5 kB / 0.9564 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.7911, allocations: 10.77 kB / 0.9564 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.7912, allocations: 54.73 kB / 0.9565 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.7913, allocations: 52.03 kB / 0.9566 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7913, allocations: 0 / 0.9566 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7914, allocations: 0 / 0.9566 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.7914, allocations: 1.156 kB / 0.9566 GB, free: 7.059 MB / 0.7169 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.0004282/0.7918, allocations: 369.5 kB / 0.9569 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.7919, allocations: 8.562 kB / 0.9569 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.7919, allocations: 13.78 kB / 0.9569 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.7922, allocations: 189.9 kB / 0.9571 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.7922, allocations: 8.625 kB / 0.9571 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.7922, allocations: 8.094 kB / 0.9571 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.7925, allocations: 95.56 kB / 0.9572 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.7925, allocations: 4.172 kB / 0.9572 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.7925, allocations: 5.031 kB / 0.9572 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.7926, allocations: 1.438 kB / 0.9572 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.7927, allocations: 43.83 kB / 0.9573 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.7933, allocations: 437.7 kB / 0.9577 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.7934, allocations: 41.91 kB / 0.9577 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.7935, allocations: 19.09 kB / 0.9577 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.7935, allocations: 4.906 kB / 0.9577 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.7935, allocations: 35.73 kB / 0.9578 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.874e-06/0.7935, allocations: 0 / 0.9578 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002493/0.7938, allocations: 55.23 kB / 0.9578 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.7939, allocations: 82.39 kB / 0.9579 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.7941, allocations: 167.5 kB / 0.9581 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.7941, allocations: 26.67 kB / 0.9581 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.7942, allocations: 104.3 kB / 0.9582 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.7942, allocations: 5.094 kB / 0.9582 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.7942, allocations: 14.72 kB / 0.9582 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.7943, allocations: 317.5 kB / 0.9585 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.7944, allocations: 7.188 kB / 0.9585 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.7944, allocations: 18 kB / 0.9585 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.351e-05/0.7945, allocations: 31.11 kB / 0.9586 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7945, allocations: 0 / 0.9586 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001387/0.7947, allocations: 59.27 kB / 0.9586 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7947, allocations: 5.75 kB / 0.9586 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.7947, allocations: 3.938 kB / 0.9586 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.7947, allocations: 4.906 kB / 0.9586 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.7949, allocations: 9.109 kB / 0.9587 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7949, allocations: 5.375 kB / 0.9587 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.7949, allocations: 5.781 kB / 0.9587 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.795, allocations: 1.969 kB / 0.9587 GB, free: 4.895 MB / 0.7169 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.539e-05/0.7951, allocations: 117.4 kB / 0.9588 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/0.7952, allocations: 7.938 kB / 0.9588 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.7952, allocations: 14.67 kB / 0.9588 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7952, allocations: 1.344 kB / 0.9588 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.7952, allocations: 4 kB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7953, allocations: 0.9062 kB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.7957, allocations: 474.5 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.7957, allocations: 0 / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.7958, allocations: 3.656 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.7958, allocations: 0 / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.7958, allocations: 0.9062 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7958, allocations: 0.9062 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7958, allocations: 1.031 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.7959, allocations: 86.27 kB / 0.9593 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.796, allocations: 88.02 kB / 0.9594 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.796, allocations: 4.938 kB / 0.9594 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.7961, allocations: 8.953 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.7961, allocations: 1.031 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.7961, allocations: 0.9062 kB / 0.9594 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000117/0.7963, allocations: 124.6 kB / 0.9596 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.41e-07/0.7963, allocations: 0 / 0.9596 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003414/0.7966, allocations: 10.47 kB / 0.9596 GB, free: 3.941 MB / 0.7169 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.0001254/0.7968, allocations: 96.25 kB / 0.9597 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.7969, allocations: 15.34 kB / 0.9597 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7969, allocations: 0 / 0.9597 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.7969, allocations: 8.094 kB / 0.9597 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.7972, allocations: 19.72 kB / 0.9597 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.7976, allocations: 210.3 kB / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.7977, allocations: 0.6952 MB / 0.9606 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.7978, allocations: 11.09 kB / 0.9606 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.7978, allocations: 0 / 0.9606 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of Templates: time 0.003451/0.8013, allocations: 0.8456 MB / 0.9614 GB, free: 2.473 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches