Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 112.5 kB / 15.73 MB, free: 76 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.001903/0.001903, allocations: 194.2 kB / 16.67 MB, free: 6.57 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.941/2.941, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 71.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3971, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002086/0.3991, allocations: 0.8272 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.3993, allocations: 43.78 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.3993, allocations: 4 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.67e-05/0.3994, allocations: 11.86 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.645e-05/0.3994, allocations: 3.938 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.116e-05/0.3995, allocations: 27.92 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.3996, allocations: 59.84 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.3998, allocations: 43.83 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.3998, allocations: 27.81 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.3999, allocations: 27.84 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3999, allocations: 8 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.3999, allocations: 8 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.3999, allocations: 15.88 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.4, allocations: 39.73 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.4001, allocations: 67.64 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4001, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4001, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.4001, allocations: 4 kB / 1.222 GB, free: 12.59 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.0004456/0.4006, allocations: 379.1 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4006, allocations: 12.03 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.4006, allocations: 12.84 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.4009, allocations: 192.2 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.4009, allocations: 8.359 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.4009, allocations: 8.375 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.401, allocations: 99.86 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4011, allocations: 192 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4011, allocations: 3.938 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.4011, allocations: 4 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.394e-05/0.4011, allocations: 39.92 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.4017, allocations: 436.6 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.716e-05/0.4017, allocations: 41.39 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.4018, allocations: 17.72 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.4018, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4018, allocations: 38.56 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4018, allocations: 0 / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001679/0.402, allocations: 61.52 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.402, allocations: 81.05 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.4022, allocations: 164.6 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.4022, allocations: 25.7 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.4023, allocations: 96.09 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.4023, allocations: 8.188 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.4023, allocations: 25.67 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4025, allocations: 318.8 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.4025, allocations: 7.984 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.4025, allocations: 17.72 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.4025, allocations: 25.66 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4025, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001103/0.4026, allocations: 69.58 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4027, allocations: 9.812 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4027, allocations: 3.938 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.4027, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/0.4027, allocations: 8 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4028, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.4028, allocations: 3.938 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.4028, allocations: 4 kB / 1.224 GB, free: 10.14 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.6e-05/0.4029, allocations: 121.8 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.4029, allocations: 11.94 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.4029, allocations: 11.81 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4029, allocations: 4 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4029, allocations: 0 / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.403, allocations: 0 / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.4034, allocations: 470.7 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4034, allocations: 8.062 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.4034, allocations: 4 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4034, allocations: 0 / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.4034, allocations: 3.984 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4034, allocations: 0 / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4034, allocations: 4 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.425e-05/0.4035, allocations: 81.89 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.4035, allocations: 89.05 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.4036, allocations: 3.938 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.4036, allocations: 0 / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.4036, allocations: 0 / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.4036, allocations: 8 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.745e-05/0.4037, allocations: 117.1 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4037, allocations: 4 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001859/0.4039, allocations: 4 kB / 1.225 GB, free: 9.105 MB / 0.9825 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.0001707/0.404, allocations: 107.3 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.4041, allocations: 15.98 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4041, allocations: 3.938 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.4042, allocations: 4 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.4043, allocations: 17.86 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.4047, allocations: 166.9 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.405, allocations: 0.6929 MB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.405, allocations: 12.42 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.405, allocations: 11.42 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.405, allocations: 4 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of Templates: time 0.00265/0.4077, allocations: 452.4 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches