Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 106.2 kB / 16.4 MB, free: 6.508 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.001858/0.001858, allocations: 188 kB / 17.34 MB, free: 5.738 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.494/1.494, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 474.5 MB / 0.7477 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 59.91 kB / 1.073 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 160.3 MB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002014/1.019, allocations: 0.8159 MB / 1.23 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001214/1.019, allocations: 47.78 kB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/1.019, allocations: 0 / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.318e-05/1.019, allocations: 7.875 kB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.81e-05/1.019, allocations: 11.88 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.071e-05/1.019, allocations: 15.98 kB / 1.23 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/1.019, allocations: 63.83 kB / 1.23 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/1.02, allocations: 47.86 kB / 1.23 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.896e-05/1.02, allocations: 31.8 kB / 1.23 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/1.02, allocations: 23.86 kB / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/1.02, allocations: 8 kB / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/1.02, allocations: 4 kB / 1.23 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/1.02, allocations: 19.92 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/1.02, allocations: 31.81 kB / 1.23 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/1.02, allocations: 76.14 kB / 1.23 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.02, allocations: 3.984 kB / 1.23 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/1.02, allocations: 0 / 1.23 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.92e-06/1.02, allocations: 0 / 1.23 GB, free: 9.758 MB / 0.9512 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.0004648/1.02, allocations: 379.2 kB / 1.231 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/1.02, allocations: 11.97 kB / 1.231 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/1.021, allocations: 16.84 kB / 1.231 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/1.021, allocations: 192.2 kB / 1.231 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/1.021, allocations: 4.375 kB / 1.231 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/1.021, allocations: 12.38 kB / 1.231 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/1.021, allocations: 95.89 kB / 1.231 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.021, allocations: 192 / 1.231 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.021, allocations: 3.938 kB / 1.231 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/1.021, allocations: 0 / 1.231 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.756e-05/1.021, allocations: 43.91 kB / 1.231 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/1.022, allocations: 440.7 kB / 1.231 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.55e-05/1.022, allocations: 45.19 kB / 1.232 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/1.022, allocations: 17.84 kB / 1.232 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/1.022, allocations: 0 / 1.232 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/1.022, allocations: 38.56 kB / 1.232 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/1.022, allocations: 0 / 1.232 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001685/1.022, allocations: 61.52 kB / 1.232 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/1.022, allocations: 77.11 kB / 1.232 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/1.022, allocations: 164.6 kB / 1.232 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/1.022, allocations: 25.7 kB / 1.232 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/1.022, allocations: 100 kB / 1.232 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/1.022, allocations: 12.19 kB / 1.232 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/1.022, allocations: 21.67 kB / 1.232 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.023, allocations: 322.8 kB / 1.232 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/1.023, allocations: 4 kB / 1.232 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/1.023, allocations: 17.72 kB / 1.232 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/1.023, allocations: 25.66 kB / 1.232 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.023, allocations: 4 kB / 1.232 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.997e-05/1.023, allocations: 69.58 kB / 1.232 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.023, allocations: 4 kB / 1.232 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.023, allocations: 3.938 kB / 1.232 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.023, allocations: 0 / 1.232 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/1.023, allocations: 11.94 kB / 1.232 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/1.023, allocations: 0 / 1.232 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/1.023, allocations: 3.938 kB / 1.232 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/1.023, allocations: 7.984 kB / 1.232 GB, free: 7.305 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 9.325e-05/1.023, allocations: 125.4 kB / 1.233 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/1.023, allocations: 7.953 kB / 1.233 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/1.023, allocations: 11.81 kB / 1.233 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.023, allocations: 4 kB / 1.233 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/1.023, allocations: 0 / 1.233 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.023, allocations: 0 / 1.233 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/1.024, allocations: 474.7 kB / 1.233 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.024, allocations: 0 / 1.233 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/1.024, allocations: 7.984 kB / 1.233 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/1.024, allocations: 0 / 1.233 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/1.024, allocations: 4 kB / 1.233 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/1.024, allocations: 0 / 1.233 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.024, allocations: 4 kB / 1.233 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.33e-05/1.024, allocations: 81.89 kB / 1.233 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/1.024, allocations: 89.05 kB / 1.233 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/1.024, allocations: 0 / 1.233 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.396e-05/1.024, allocations: 4 kB / 1.233 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/1.024, allocations: 0 / 1.233 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/1.024, allocations: 4 kB / 1.233 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.106e-05/1.024, allocations: 115.2 kB / 1.233 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.024, allocations: 4 kB / 1.233 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001819/1.024, allocations: 4 kB / 1.233 GB, free: 6.27 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.0001101/1.024, allocations: 103.3 kB / 1.233 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.453e-05/1.024, allocations: 19.92 kB / 1.233 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.024, allocations: 3.938 kB / 1.233 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/1.024, allocations: 12 kB / 1.234 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/1.025, allocations: 5.5 kB / 1.234 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/1.025, allocations: 174.8 kB / 1.234 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/1.025, allocations: 0.6963 MB / 1.234 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.403e-05/1.025, allocations: 8.422 kB / 1.234 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/1.025, allocations: 11.44 kB / 1.234 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of SimCode: time 2.094e-06/1.025, allocations: 0 / 1.234 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of Templates: time 0.002937/1.028, allocations: 473.9 kB / 1.235 GB, free: 4.711 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches