Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 195.5 kB / 16.67 MB, free: 6.582 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.693/2.693, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 71.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2993, allocations: 162.3 MB / 1.242 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001866/0.3012, allocations: 0.8321 MB / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001111/0.3014, allocations: 39.78 kB / 1.243 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.3014, allocations: 4 kB / 1.243 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.3015, allocations: 11.88 kB / 1.243 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.3015, allocations: 11.86 kB / 1.243 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.533e-05/0.3016, allocations: 19.98 kB / 1.243 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3017, allocations: 63.78 kB / 1.243 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3018, allocations: 39.97 kB / 1.243 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.3019, allocations: 27.86 kB / 1.243 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.989e-05/0.302, allocations: 35.77 kB / 1.243 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.302, allocations: 4 kB / 1.243 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.302, allocations: 8 kB / 1.243 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.302, allocations: 11.94 kB / 1.243 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.3021, allocations: 39.73 kB / 1.243 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.3022, allocations: 71.64 kB / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3022, allocations: 0 / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3022, allocations: 0 / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3022, allocations: 4 kB / 1.243 GB, free: 8.578 MB / 0.9981 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.000445/0.3027, allocations: 387.1 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3027, allocations: 8.031 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.3028, allocations: 42.69 kB / 1.243 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.3028, allocations: 8.891 kB / 1.243 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.303, allocations: 188.2 kB / 1.244 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.303, allocations: 4.375 kB / 1.244 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.303, allocations: 8.375 kB / 1.244 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3032, allocations: 102.1 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3032, allocations: 3.938 kB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3032, allocations: 0 / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.3033, allocations: 4 kB / 1.244 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.3033, allocations: 35.98 kB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.3039, allocations: 444.6 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.632e-05/0.3039, allocations: 37.22 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.304, allocations: 13.88 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-06/0.304, allocations: 3.938 kB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.304, allocations: 42.56 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.304, allocations: 0 / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.3042, allocations: 57.52 kB / 1.244 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3042, allocations: 77.11 kB / 1.244 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3044, allocations: 164.4 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3044, allocations: 25.7 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.3045, allocations: 96.09 kB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.3045, allocations: 12.19 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.3045, allocations: 17.72 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3047, allocations: 326.8 kB / 1.245 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.3047, allocations: 4 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.3047, allocations: 21.66 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.3048, allocations: 25.66 kB / 1.245 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3048, allocations: 0 / 1.245 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.397e-05/0.3049, allocations: 65.64 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3049, allocations: 7.938 kB / 1.245 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3049, allocations: 0 / 1.245 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3049, allocations: 0 / 1.245 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.305, allocations: 15.94 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.305, allocations: 0 / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.305, allocations: 11.89 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.305, allocations: 0 / 1.245 GB, free: 6.094 MB / 0.9981 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 7.888e-05/0.3051, allocations: 121.9 kB / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.3051, allocations: 11.89 kB / 1.245 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.3052, allocations: 11.88 kB / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.3052, allocations: 0 / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3052, allocations: 0 / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3052, allocations: 0 / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.3056, allocations: 474.7 kB / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3056, allocations: 4.062 kB / 1.246 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.3056, allocations: 7.984 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3056, allocations: 0 / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.3056, allocations: 0 / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.3056, allocations: 4 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3056, allocations: 0 / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.3057, allocations: 81.83 kB / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.3058, allocations: 93.17 kB / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3058, allocations: 0 / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.3058, allocations: 3.984 kB / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.3058, allocations: 4 kB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.3059, allocations: 4 kB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.076e-05/0.3059, allocations: 121.7 kB / 1.246 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.306, allocations: 0 / 1.246 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001724/0.3061, allocations: 4 kB / 1.246 GB, free: 5.051 MB / 0.9981 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.0003999/0.3065, allocations: 0.6215 MB / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.529e-05/0.3066, allocations: 23.92 kB / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3066, allocations: 0 / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/0.3066, allocations: 12.16 kB / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.3068, allocations: 8 kB / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.308, allocations: 1.336 MB / 1.248 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3083, allocations: 0.6885 MB / 1.249 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.3083, allocations: 12.42 kB / 1.249 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.3084, allocations: 23.38 kB / 1.249 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.3084, allocations: 0 / 1.249 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6835/0.9919, allocations: 1.585 MB / 1.25 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.45/10.44, allocations: 0.625 kB / 1.25 GB, free: 0.6914 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches