Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.002043/0.002044, allocations: 173.1 kB / 498.1 MB, free: 5.688 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.531/1.531, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009339/0.0009341, allocations: 95.31 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003715, allocations: 10.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.304, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.4873, allocations: 148.8 MB / 1.368 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4876, allocations: 59.97 kB / 1.368 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002554/0.4902, allocations: 1.087 MB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.957e-06/0.4902, allocations: 0 / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.4902, allocations: 0 / 1.369 GB, free: 12.07 MB / 0.8698 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.0003378/0.4905, allocations: 369.8 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4906, allocations: 12.03 kB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.4906, allocations: 11.86 kB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.4908, allocations: 182.9 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4908, allocations: 4 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.4908, allocations: 15.92 kB / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.4911, allocations: 87.39 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4911, allocations: 0 / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4911, allocations: 4 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4911, allocations: 0 / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.4912, allocations: 43.86 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.4917, allocations: 448.6 kB / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.4918, allocations: 45.19 kB / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.4918, allocations: 4.125 kB / 1.37 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.4919, allocations: 30.56 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4919, allocations: 0 / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001705/0.492, allocations: 53.53 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.4921, allocations: 77.36 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.4922, allocations: 149.4 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.4923, allocations: 29.7 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.4923, allocations: 104 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.115e-06/0.4924, allocations: 4.125 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-06/0.4924, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4925, allocations: 326.8 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.4925, allocations: 8 kB / 1.371 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.4925, allocations: 25.64 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.644e-05/0.4926, allocations: 11.95 kB / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4926, allocations: 0 / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.853e-05/0.4927, allocations: 57.61 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4927, allocations: 5.094 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4927, allocations: 0 / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4927, allocations: 0 / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.4928, allocations: 15.92 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4928, allocations: 0 / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.4928, allocations: 15.91 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.4928, allocations: 0 / 1.371 GB, free: 9.734 MB / 0.8698 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 7.415e-05/0.4929, allocations: 117.8 kB / 1.371 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.493, allocations: 7.906 kB / 1.371 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.493, allocations: 15.86 kB / 1.371 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.493, allocations: 4 kB / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.493, allocations: 0 / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.493, allocations: 0 / 1.372 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.4934, allocations: 478.8 kB / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4934, allocations: 0 / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.4934, allocations: 4 kB / 1.372 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4934, allocations: 0 / 1.372 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.4934, allocations: 0 / 1.372 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4934, allocations: 4 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4935, allocations: 0 / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.4936, allocations: 99.56 kB / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.4936, allocations: 89 kB / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4936, allocations: 0 / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.954e-05/0.4937, allocations: 3.938 kB / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.4937, allocations: 0 / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.4937, allocations: 4 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.682e-05/0.4938, allocations: 131.3 kB / 1.372 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4938, allocations: 0 / 1.372 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001865/0.494, allocations: 15.86 kB / 1.372 GB, free: 8.664 MB / 0.8698 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.0001224/0.4941, allocations: 99.03 kB / 1.372 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.624e-05/0.4942, allocations: 19.88 kB / 1.372 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4942, allocations: 4 kB / 1.372 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.4942, allocations: 7.984 kB / 1.372 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.4943, allocations: 9.969 kB / 1.372 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.4947, allocations: 178.6 kB / 1.373 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.4949, allocations: 0.7043 MB / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.495, allocations: 8.422 kB / 1.373 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.495, allocations: 11.44 kB / 1.373 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.495, allocations: 0 / 1.373 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of Templates: time 0.002321/0.4974, allocations: 419.9 kB / 1.374 GB, free: 7.141 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches