Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001544, allocations: 105.4 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.001533/0.001533, allocations: 199.3 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 15.39 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.582/2.582, allocations: 469.8 MB / 0.7427 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 72.55 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3025, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002082/0.3046, allocations: 0.8726 MB / 1.065 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000106/0.3047, allocations: 51.78 kB / 1.065 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.3048, allocations: 0 / 1.065 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.285e-05/0.3049, allocations: 7.922 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.3049, allocations: 3.938 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.966e-05/0.305, allocations: 19.98 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.3051, allocations: 55.86 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3052, allocations: 47.94 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.3053, allocations: 23.88 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.3054, allocations: 31.84 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3054, allocations: 4 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.3054, allocations: 8 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.3054, allocations: 15.88 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.3055, allocations: 43.73 kB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.84e-05/0.3056, allocations: 52.17 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3056, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3056, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3056, allocations: 0 / 1.065 GB, free: 13.86 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.000454/0.306, allocations: 375.2 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3061, allocations: 8.031 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.3061, allocations: 20.73 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.3063, allocations: 188.2 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3064, allocations: 12.25 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.3064, allocations: 12.38 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3065, allocations: 83.95 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.3066, allocations: 192 / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3066, allocations: 7.938 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3066, allocations: 4 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.3067, allocations: 43.91 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.3072, allocations: 432.6 kB / 1.066 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.582e-05/0.3073, allocations: 41.19 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.3074, allocations: 17.84 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.3074, allocations: 4 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.3074, allocations: 34.56 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3074, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000158/0.3076, allocations: 57.47 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.3076, allocations: 81.11 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3078, allocations: 156.3 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3078, allocations: 37.7 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.3079, allocations: 111.9 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.3079, allocations: 3.906 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.308, allocations: 17.72 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3081, allocations: 318.8 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.3081, allocations: 4 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.3082, allocations: 29.64 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.3082, allocations: 29.7 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3082, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.228e-05/0.3083, allocations: 57.55 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.3083, allocations: 6.344 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3083, allocations: 7.938 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.3083, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.3084, allocations: 7.984 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3084, allocations: 4.062 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.3085, allocations: 11.84 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.3085, allocations: 3.984 kB / 1.067 GB, free: 11.41 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.224e-05/0.3086, allocations: 115.2 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.3086, allocations: 7.906 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.3086, allocations: 15.81 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.3086, allocations: 3.984 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3086, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3087, allocations: 4 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.3091, allocations: 466.8 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3091, allocations: 7.938 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.3091, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3091, allocations: 4 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.3091, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3091, allocations: 7.938 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3091, allocations: 0 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.569e-05/0.3092, allocations: 85.89 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.3093, allocations: 85.02 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.3093, allocations: 0 / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/0.3093, allocations: 4 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.3094, allocations: 3.984 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3094, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.166e-05/0.3095, allocations: 133.9 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3095, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001792/0.3096, allocations: 8 kB / 1.068 GB, free: 10.37 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.0001202/0.3098, allocations: 99.19 kB / 1.068 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.14e-05/0.3099, allocations: 16 kB / 1.068 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.3099, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-05/0.3099, allocations: 7.938 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.3101, allocations: 17.91 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.3104, allocations: 208.5 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.3108, allocations: 0.6963 MB / 1.069 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.3108, allocations: 11.44 kB / 1.069 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3108, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of Templates: time 0.002227/0.313, allocations: 0.8522 MB / 1.07 GB, free: 8.391 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches