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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 476.7 MB / 0.7611 GB, free: 15.8 MB / 0.6075 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 1.104 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002344/1.115, allocations: 0.8365 MB / 1.27 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001146/1.116, allocations: 45.59 kB / 1.27 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/1.116, allocations: 1.594 kB / 1.27 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/1.116, allocations: 9.516 kB / 1.27 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.041e-05/1.116, allocations: 6.562 kB / 1.27 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.844e-05/1.116, allocations: 19.83 kB / 1.27 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/1.116, allocations: 63.11 kB / 1.27 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/1.116, allocations: 35.89 kB / 1.27 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/1.116, allocations: 26.45 kB / 1.27 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.614e-05/1.116, allocations: 26.66 kB / 1.27 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/1.116, allocations: 5.781 kB / 1.27 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/1.116, allocations: 10.47 kB / 1.27 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/1.116, allocations: 16.33 kB / 1.27 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/1.116, allocations: 32.83 kB / 1.27 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/1.116, allocations: 81.03 kB / 1.27 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.116, allocations: 1.094 kB / 1.27 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.116, allocations: 0 / 1.27 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.741e-06/1.116, allocations: 0 / 1.27 GB, free: 6.977 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.0003977/1.117, allocations: 382.4 kB / 1.27 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.117, allocations: 13.25 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/1.117, allocations: 38.92 kB / 1.27 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/1.117, allocations: 17.91 kB / 1.27 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/1.117, allocations: 196.7 kB / 1.271 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/1.117, allocations: 7.469 kB / 1.271 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/1.117, allocations: 5.125 kB / 1.271 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/1.117, allocations: 92.95 kB / 1.271 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.117, allocations: 3.938 kB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/1.117, allocations: 1.469 kB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.117, allocations: 2.281 kB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.593e-05/1.117, allocations: 44.09 kB / 1.271 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/1.118, allocations: 430 kB / 1.271 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.037e-05/1.118, allocations: 45.8 kB / 1.271 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/1.118, allocations: 23.86 kB / 1.271 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/1.118, allocations: 0.8125 kB / 1.271 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/1.118, allocations: 37.25 kB / 1.271 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.118, allocations: 0 / 1.271 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000169/1.118, allocations: 56.47 kB / 1.271 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/1.118, allocations: 78.14 kB / 1.271 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/1.118, allocations: 165.5 kB / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/1.118, allocations: 26.58 kB / 1.272 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/1.118, allocations: 99.72 kB / 1.272 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/1.118, allocations: 10.27 kB / 1.272 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/1.118, allocations: 21.72 kB / 1.272 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.817e-05/1.119, allocations: 320.3 kB / 1.272 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/1.119, allocations: 3.469 kB / 1.272 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/1.119, allocations: 27.73 kB / 1.272 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.108e-05/1.119, allocations: 27.53 kB / 1.272 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.119, allocations: 0 / 1.272 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.029e-05/1.119, allocations: 57.91 kB / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.119, allocations: 9.875 kB / 1.272 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.119, allocations: 3.938 kB / 1.272 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.119, allocations: 1.594 kB / 1.272 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/1.119, allocations: 11.19 kB / 1.272 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/1.119, allocations: 0 / 1.272 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/1.119, allocations: 7.297 kB / 1.272 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/1.119, allocations: 0.9375 kB / 1.272 GB, free: 4.844 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 5.218e-05/1.119, allocations: 117.6 kB / 1.272 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/1.119, allocations: 12.47 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/1.119, allocations: 12.62 kB / 1.272 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.119, allocations: 5.438 kB / 1.272 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.119, allocations: 0.5625 kB / 1.272 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.119, allocations: 5 kB / 1.272 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/1.119, allocations: 475 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.119, allocations: 0.6875 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/1.119, allocations: 3.156 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.119, allocations: 0.7812 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/1.119, allocations: 2.203 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.119, allocations: 0 / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.119, allocations: 5 kB / 1.273 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.757e-05/1.119, allocations: 76.83 kB / 1.273 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/1.119, allocations: 91.33 kB / 1.273 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/1.119, allocations: 1.188 kB / 1.273 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/1.119, allocations: 0.75 kB / 1.273 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/1.12, allocations: 5.422 kB / 1.273 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/1.12, allocations: 6.062 kB / 1.273 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.734e-05/1.12, allocations: 120 kB / 1.273 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.12, allocations: 0 / 1.273 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001969/1.12, allocations: 7.875 kB / 1.273 GB, free: 3.926 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.0003575/1.12, allocations: 0.6153 MB / 1.274 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001102/1.12, allocations: 19.72 kB / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.12, allocations: 0 / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/1.12, allocations: 5.5 kB / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/1.12, allocations: 10.59 kB / 1.274 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/1.122, allocations: 1.343 MB / 1.275 GB, free: 18.06 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/1.123, allocations: 0.6924 MB / 1.276 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.296e-05/1.123, allocations: 11.44 kB / 1.276 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/1.123, allocations: 21.38 kB / 1.276 GB, free: 17.35 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/1.123, allocations: 0.9062 kB / 1.276 GB, free: 17.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/1.149, allocations: 1.59 MB / 1.277 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/9.442, allocations: 20.7 kB / 1.277 GB, free: 16.94 MB / 1.014 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.86150474101305]