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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.27/2.27, allocations: 393.5 MB / 408.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 179.4 kB / 0.4902 GB, free: 2.293 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 223.1 MB / 0.7992 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 102.5 kB / 0.9396 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 10.16 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2962, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.4866, allocations: 149.6 MB / 1.375 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4869, allocations: 63.91 kB / 1.375 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002539/0.4895, allocations: 1.103 MB / 1.376 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4895, allocations: 0 / 1.376 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.4895, allocations: 0 / 1.376 GB, free: 14.5 MB / 0.8855 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.0004112/0.4899, allocations: 361.3 kB / 1.377 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.49, allocations: 12.56 kB / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.49, allocations: 15.8 kB / 1.377 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.4902, allocations: 178.9 kB / 1.377 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.4902, allocations: 11.94 kB / 1.377 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.4903, allocations: 8 kB / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.4904, allocations: 84.33 kB / 1.377 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4904, allocations: 0 / 1.377 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.4905, allocations: 8 kB / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4905, allocations: 0 / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.4906, allocations: 39.92 kB / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.4912, allocations: 456.5 kB / 1.378 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.106e-05/0.4912, allocations: 33.19 kB / 1.378 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.4912, allocations: 8.125 kB / 1.378 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.4913, allocations: 38.55 kB / 1.378 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4913, allocations: 0 / 1.378 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001784/0.4915, allocations: 49.55 kB / 1.378 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.4915, allocations: 81.11 kB / 1.378 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.4917, allocations: 144.7 kB / 1.378 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4917, allocations: 25.95 kB / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.4918, allocations: 112 kB / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.714e-06/0.4918, allocations: 3.906 kB / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.4918, allocations: 0 / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4919, allocations: 322.8 kB / 1.378 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.492, allocations: 4 kB / 1.378 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.434e-05/0.492, allocations: 25.64 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.492, allocations: 15.89 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.492, allocations: 4 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.528e-05/0.4921, allocations: 57.61 kB / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4921, allocations: 4 kB / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.4922, allocations: 3.984 kB / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4922, allocations: 4.031 kB / 1.378 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.4922, allocations: 8 kB / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.4923, allocations: 0 / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.4923, allocations: 19.77 kB / 1.378 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.4923, allocations: 0 / 1.378 GB, free: 12.16 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.436e-05/0.4924, allocations: 122.9 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.4924, allocations: 7.906 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.4925, allocations: 15.86 kB / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.4925, allocations: 0 / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4925, allocations: 0 / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4925, allocations: 0 / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.4929, allocations: 478.8 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4929, allocations: 0 / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.4929, allocations: 4 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4929, allocations: 0 / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.493, allocations: 0 / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.493, allocations: 4 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.493, allocations: 0 / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/0.4931, allocations: 95.56 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.4931, allocations: 93 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.4932, allocations: 0 / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.86e-05/0.4932, allocations: 0 / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.4932, allocations: 0 / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.4932, allocations: 4 kB / 1.379 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.617e-05/0.4933, allocations: 119.2 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4933, allocations: 0 / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001712/0.4935, allocations: 19.98 kB / 1.379 GB, free: 11.11 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.4936, allocations: 96.05 kB / 1.38 GB, free: 11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.326e-05/0.4937, allocations: 23.92 kB / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4937, allocations: 0 / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.709e-06/0.4938, allocations: 4 kB / 1.38 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.4939, allocations: 4 kB / 1.38 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.4942, allocations: 190.7 kB / 1.38 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.4945, allocations: 0.6965 MB / 1.38 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.937e-05/0.4945, allocations: 12.42 kB / 1.38 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.4945, allocations: 11.44 kB / 1.38 GB, free: 10 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.4946, allocations: 3.938 kB / 1.38 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of Templates: time 0.002281/0.4968, allocations: 415.8 kB / 1.381 GB, free: 9.59 MB / 0.8855 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 -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","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches