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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01387/0.01387, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002196/0.002197, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.563/2.563, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.06 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3749, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002641/0.3776, allocations: 0.8216 MB / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.3778, allocations: 43.78 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.3779, allocations: 4 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.668e-05/0.3779, allocations: 7.875 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.378, allocations: 7.875 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.359e-05/0.3781, allocations: 23.97 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.3782, allocations: 55.84 kB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.3785, allocations: 51.95 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.545e-05/0.3785, allocations: 23.8 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.3786, allocations: 27.86 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.3786, allocations: 4 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.3787, allocations: 8 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.3787, allocations: 15.92 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.3788, allocations: 39.75 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.3789, allocations: 83.5 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.379, allocations: 4 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.325e-06/0.379, allocations: 0 / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.379, allocations: 0 / 1.089 GB, free: 296 kB / 0.8419 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.0006313/0.3796, allocations: 375.1 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3797, allocations: 12.03 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.3797, allocations: 8.891 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.38, allocations: 192.2 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.38, allocations: 4.375 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.38, allocations: 16.31 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3802, allocations: 93.92 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3802, allocations: 192 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3802, allocations: 3.938 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3802, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.65e-05/0.3803, allocations: 39.92 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.381, allocations: 440.7 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.612e-05/0.381, allocations: 37.31 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.3811, allocations: 17.72 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.3811, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.3811, allocations: 42.56 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.3812, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002142/0.3814, allocations: 57.52 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.3814, allocations: 77.11 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.3816, allocations: 159.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3816, allocations: 25.7 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.3817, allocations: 108.3 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.3817, allocations: 11.89 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.3818, allocations: 17.72 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3819, allocations: 318.8 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.382, allocations: 11.94 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/0.382, allocations: 17.72 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.382, allocations: 29.66 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3821, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.173e-05/0.3821, allocations: 65.58 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3822, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3822, allocations: 3.938 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3822, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.3823, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3823, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.3823, allocations: 7.953 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.3823, allocations: 4.062 kB / 1.091 GB, free: 13.86 MB / 0.8575 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.738e-05/0.3824, allocations: 118.4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.3825, allocations: 7.953 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.3825, allocations: 15.91 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3825, allocations: 3.984 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3825, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3825, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.383, allocations: 474.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.383, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.383, allocations: 11.92 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.383, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.383, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3831, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3831, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.3832, allocations: 81.89 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.3833, allocations: 89.05 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.3833, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.3833, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.3833, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.3833, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000108/0.3834, allocations: 120.9 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3835, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001956/0.3837, allocations: 19.92 kB / 1.092 GB, free: 12.81 MB / 0.8575 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.0001645/0.3838, allocations: 99.23 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.384, allocations: 19.94 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.384, allocations: 3.938 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.384, allocations: 8 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.3842, allocations: 7.938 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.3846, allocations: 170.9 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.3849, allocations: 0.6889 MB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.648e-05/0.385, allocations: 8.422 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.385, allocations: 11.44 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.385, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.00306/0.3881, allocations: 462 kB / 1.094 GB, free: 11.28 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches