Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001495/0.001495, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001491/0.001491, allocations: 199.5 kB / 16.91 MB, free: 6.191 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.559/2.559, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 67.42 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2952, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002142/0.2974, allocations: 0.8904 MB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001044/0.2975, allocations: 43.8 kB / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.2975, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.2976, allocations: 3.938 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.11e-05/0.2977, allocations: 7.984 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.755e-05/0.2977, allocations: 23.92 kB / 1.065 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.2978, allocations: 59.84 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.298, allocations: 39.95 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.2981, allocations: 27.88 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.2982, allocations: 27.84 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.2982, allocations: 8 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.2982, allocations: 4 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.2982, allocations: 19.88 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.2983, allocations: 39.73 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.235e-05/0.2984, allocations: 48.17 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2984, allocations: 4 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2984, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2984, allocations: 0 / 1.065 GB, free: 13.9 MB / 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.000458/0.2988, allocations: 387.2 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2989, allocations: 8.031 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.2989, allocations: 12.75 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.2991, allocations: 188.2 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.2992, allocations: 384 / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.2992, allocations: 12.38 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.2994, allocations: 95.88 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2994, allocations: 4.188 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2994, allocations: 3.938 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2994, allocations: 4 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.2995, allocations: 39.92 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.3001, allocations: 432.6 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.101e-05/0.3001, allocations: 45.25 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.3002, allocations: 17.77 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.3002, allocations: 4 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3002, allocations: 34.56 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3002, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001638/0.3004, allocations: 57.48 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.3005, allocations: 81.05 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3006, allocations: 164.3 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3007, allocations: 25.7 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.3007, allocations: 108 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.343e-06/0.3007, allocations: 3.906 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.3008, allocations: 17.72 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3009, allocations: 327 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.301, allocations: 4 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.301, allocations: 21.7 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.301, allocations: 29.66 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.301, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.331e-05/0.3011, allocations: 57.61 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3012, allocations: 11.98 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.3012, allocations: 7.938 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3012, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.3012, allocations: 4 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3013, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.3013, allocations: 11.84 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.3013, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8419 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 8.647e-05/0.3014, allocations: 116 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.3014, allocations: 11.91 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.3015, allocations: 23.8 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3015, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3015, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3015, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.3019, allocations: 466.8 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3019, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.3019, allocations: 4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.302, allocations: 4.062 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.302, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.302, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.302, allocations: 3.938 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.926e-05/0.3021, allocations: 81.83 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.3021, allocations: 89 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3022, allocations: 32 / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/0.3022, allocations: 4.094 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.3022, allocations: 11.98 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3022, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.576e-05/0.3023, allocations: 122.3 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3023, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001799/0.3025, allocations: 8 kB / 1.068 GB, free: 10.42 MB / 0.8419 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.0001336/0.3027, allocations: 95.25 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.732e-05/0.3028, allocations: 31.81 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3028, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.3028, allocations: 7.984 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.3029, allocations: 15.88 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.3033, allocations: 212.7 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.3037, allocations: 0.6963 MB / 1.069 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.3037, allocations: 11.44 kB / 1.069 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3037, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of Templates: time 0.002409/0.3062, allocations: 0.8521 MB / 1.07 GB, free: 8.426 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches