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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001545/0.001545, allocations: 114.3 kB / 16.37 MB, free: 6 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.00163/0.00163, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 62.84 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2959, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.003384/0.2993, allocations: 0.8288 MB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002477/0.2996, allocations: 39.78 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.2997, allocations: 4 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.461e-05/0.2998, allocations: 7.875 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.2999, allocations: 7.875 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.698e-05/0.3, allocations: 23.97 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.3002, allocations: 59.84 kB / 0.9521 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.3004, allocations: 43.97 kB / 0.9521 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3005, allocations: 27.8 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.367e-05/0.3006, allocations: 23.86 kB / 0.9522 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.3006, allocations: 4 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.3007, allocations: 12 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.3007, allocations: 19.92 kB / 0.9522 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.3008, allocations: 31.75 kB / 0.9522 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.301, allocations: 83.62 kB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.301, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.301, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.301, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 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.0005954/0.3016, allocations: 379.2 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3017, allocations: 8.031 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.3017, allocations: 12.78 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.302, allocations: 196.2 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.302, allocations: 8.375 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.302, allocations: 4.375 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.3022, allocations: 97.52 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3022, allocations: 192 / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.3023, allocations: 7.938 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3023, allocations: 3.984 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.578e-05/0.3024, allocations: 39.92 kB / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.3029, allocations: 436.7 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.515e-05/0.303, allocations: 37.25 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.3031, allocations: 25.78 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.3031, allocations: 4 kB / 0.9535 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.3031, allocations: 30.56 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3031, allocations: 0 / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002055/0.3033, allocations: 57.47 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.3034, allocations: 81.11 kB / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3036, allocations: 164 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.3036, allocations: 33.7 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.3037, allocations: 104 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.3037, allocations: 7.906 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.3038, allocations: 13.72 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3039, allocations: 318.8 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.3039, allocations: 8 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.304, allocations: 21.66 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.304, allocations: 33.66 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.304, allocations: 0 / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.707e-05/0.3041, allocations: 57.53 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3041, allocations: 4 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3042, allocations: 7.938 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3042, allocations: 0 / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.3042, allocations: 4 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3043, allocations: 4.062 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.3043, allocations: 11.84 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.3043, allocations: 3.984 kB / 0.9544 GB, free: 4.402 MB / 0.7325 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.778e-05/0.3044, allocations: 113.8 kB / 0.9545 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.3045, allocations: 7.906 kB / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.3045, allocations: 15.81 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3045, allocations: 0 / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3045, allocations: 0 / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3045, allocations: 7.938 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.305, allocations: 470.8 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.305, allocations: 7.984 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.305, allocations: 0 / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.305, allocations: 4 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3051, allocations: 0 / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3051, allocations: 4 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3051, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.3052, allocations: 81.84 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.3053, allocations: 93 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.3053, allocations: 0 / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.376e-05/0.3053, allocations: 4 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.3053, allocations: 0 / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3053, allocations: 0 / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001072/0.3055, allocations: 126.3 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.8e-07/0.3055, allocations: 0 / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001943/0.3057, allocations: 8 kB / 0.9553 GB, free: 3.367 MB / 0.7325 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.0001445/0.3058, allocations: 99.77 kB / 0.9554 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.3059, allocations: 19.94 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3059, allocations: 0 / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.3059, allocations: 11.94 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.3061, allocations: 16.19 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.3066, allocations: 172.6 kB / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.3069, allocations: 0.6922 MB / 0.9563 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.748e-05/0.3069, allocations: 8.422 kB / 0.9563 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.307, allocations: 15.44 kB / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.307, allocations: 0 / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of Templates: time 0.002812/0.3098, allocations: 452.6 kB / 0.9568 GB, free: 1.832 MB / 0.7325 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 -s gbode -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/jenkins1/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