Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001474/0.001474, allocations: 106.7 kB / 16.41 MB, free: 6.488 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.001378/0.001378, allocations: 189.2 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.535/1.535, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.807/2.807, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 151.6 MB / 1.167 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002178/1.014, allocations: 0.8275 MB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001334/1.014, allocations: 39.73 kB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/1.014, allocations: 0 / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/1.014, allocations: 11.88 kB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/1.015, allocations: 23.84 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.065e-05/1.015, allocations: 11.98 kB / 1.168 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000131/1.015, allocations: 59.84 kB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/1.015, allocations: 43.98 kB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/1.015, allocations: 23.92 kB / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/1.015, allocations: 31.8 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/1.015, allocations: 4 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/1.015, allocations: 8 kB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/1.015, allocations: 15.86 kB / 1.168 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/1.015, allocations: 31.81 kB / 1.168 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/1.015, allocations: 76.61 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.015, allocations: 0 / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.498e-06/1.015, allocations: 4 kB / 1.169 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.25e-06/1.015, allocations: 4 kB / 1.169 GB, free: 2.812 MB / 0.8887 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.000565/1.016, allocations: 375.1 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.016, allocations: 12.92 kB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/1.016, allocations: 12.84 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/1.016, allocations: 196.1 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/1.016, allocations: 8.375 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/1.016, allocations: 4.375 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/1.017, allocations: 98.39 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.017, allocations: 8.062 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.017, allocations: 3.938 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.017, allocations: 4 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/1.017, allocations: 35.98 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/1.017, allocations: 440.8 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.882e-05/1.017, allocations: 49.16 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/1.017, allocations: 17.78 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/1.018, allocations: 0 / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.018, allocations: 38.5 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/1.018, allocations: 4 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001946/1.018, allocations: 53.58 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/1.018, allocations: 81.05 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/1.018, allocations: 160.7 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/1.018, allocations: 25.7 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/1.018, allocations: 104 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/1.018, allocations: 11.95 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/1.018, allocations: 17.97 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.018, allocations: 318.8 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/1.018, allocations: 8 kB / 1.171 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/1.018, allocations: 13.72 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.863e-05/1.018, allocations: 29.7 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/1.018, allocations: 0 / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.048e-05/1.019, allocations: 65.55 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.019, allocations: 6.344 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.019, allocations: 3.938 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.019, allocations: 4 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/1.019, allocations: 7.984 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.019, allocations: 0 / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/1.019, allocations: 11.88 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/1.019, allocations: 3.938 kB / 1.171 GB, free: 376 kB / 0.8887 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 0.0001118/1.019, allocations: 113.9 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/1.019, allocations: 11.95 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/1.019, allocations: 15.81 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.019, allocations: 4.078 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.019, allocations: 0 / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.019, allocations: 3.984 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/1.02, allocations: 474.7 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.02, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/1.02, allocations: 8.062 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.02, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/1.02, allocations: 3.938 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.02, allocations: 4 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.02, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/1.02, allocations: 81.81 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/1.02, allocations: 93.09 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/1.02, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/1.02, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/1.02, allocations: 7.984 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/1.02, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001184/1.02, allocations: 121.7 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.02, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001892/1.02, allocations: 8 kB / 1.172 GB, free: 15.32 MB / 0.9044 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.0001492/1.02, allocations: 99.25 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001273/1.021, allocations: 19.94 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.021, allocations: 0 / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-05/1.021, allocations: 8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/1.021, allocations: 7.938 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/1.021, allocations: 167.9 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/1.022, allocations: 0.6965 MB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.053e-05/1.022, allocations: 8.422 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/1.022, allocations: 11.44 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of SimCode: time 6.41e-07/1.022, allocations: 0 / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.003207/1.025, allocations: 468.5 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches